when i create a ColumnFamily after open a database it will be happened private ColumnFamilyHandle CreateColumnFamily(RocksDb db, string familyName, uint bloomBit = 0) { if (_columnFamilyHandles.TryGetValue(familyName, out var family)) return family; var options = new ColumnFamilyOptions(); var columnFamily = db.CreateColumnFamily(options, familyName); _columnFamilyHandles.Add(familyName, columnFamily); return columnFamily; }
when i create a ColumnFamily after open a database it will be happened
private ColumnFamilyHandle CreateColumnFamily(RocksDb db, string familyName, uint bloomBit = 0) { if (_columnFamilyHandles.TryGetValue(familyName, out var family)) return family; var options = new ColumnFamilyOptions(); var columnFamily = db.CreateColumnFamily(options, familyName); _columnFamilyHandles.Add(familyName, columnFamily); return columnFamily; }