Remove Properties in rocksmq (#28000)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
pull/27590/head
Xiaofan 2023-10-31 00:44:14 +08:00 committed by GitHub
parent 9b6eeb46f1
commit 7c9d24cbb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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", "properties"}
db, cfHandles, err := gorocksdb.OpenDbColumnFamilies(optsStore, name, giveColumnFamilies, []*gorocksdb.Options{optsStore, optsStore})
giveColumnFamilies := []string{"default"}
db, cfHandles, err := gorocksdb.OpenDbColumnFamilies(optsStore, name, giveColumnFamilies, []*gorocksdb.Options{optsStore})
if err != nil {
return nil, err
}