curiosity-ai / rocksdb-sharp

.net bindings for the rocksdb by facebook
BSD 2-Clause "Simplified" License
155 stars 38 forks source link

Support for column families with TTL #37

Closed krosn closed 1 year ago

krosn commented 1 year ago

It looks like the Native method rocksdb_create_column_family_with_ttl isn't exposed through rocksdb-sharp. Are there plans to add support for this? If not, is this something you would accept a PR for?

krosn commented 1 year ago

Alternatively, is there a way to support the periodic_compaction_seconds Option?

krosn commented 1 year ago

This is really two different issues:

1) Native.rocksdb_create_column_family_with_ttl isn't exposed in RocksDb.cs, which could be remedied with a PR, but I changed approaches and don't need it anymore.

2) periodic_compaction_seconds is not lacking support in this library, it is actually just missing from the C bindings, so I will open that issue on the RocksDB github, then close this one.

krosn commented 1 year ago

Moving issue to https://github.com/facebook/rocksdb/issues/11090