Revert "Remove Properties in rocksmq (#28000)" (#28071)

This reverts commit 7c9d24cbb7.
This commit is contained in:
Xiaofan 2023-11-01 21:44:20 +08:00 committed by GitHub
parent e4fdf5e68e
commit af8ea0f3af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,8 +225,8 @@ func NewRocksMQ(name string, idAllocator allocator.Interface) (*rocksmq, error)
// db, err := gorocksdb.OpenDb(opts, name)
// use properties as the column families to store trace id
giveColumnFamilies := []string{"default"}
db, cfHandles, err := gorocksdb.OpenDbColumnFamilies(optsStore, name, giveColumnFamilies, []*gorocksdb.Options{optsStore})
giveColumnFamilies := []string{"default", "properties"}
db, cfHandles, err := gorocksdb.OpenDbColumnFamilies(optsStore, name, giveColumnFamilies, []*gorocksdb.Options{optsStore, optsStore})
if err != nil {
return nil, err
}