linxGnu / grocksdb

RocksDB wrapper for Go. Support 9.x, 8.x, 7.x, 6.x, etc
MIT License
315 stars 68 forks source link

could not determine kind of name for C.rocksdb_options_get_access_hint_on_compaction_start #150

Closed chloeyin closed 6 months ago

chloeyin commented 6 months ago

When build with lates RocksDB, this error will be thrown

grocksdb@v1.8.6/options.go:1442:33: could not determine kind of name for C.rocksdb_options_get_access_hint_on_compaction_start

This API has been deprecated in this PR, is it possible to remove this function?

linxGnu commented 6 months ago

Which rocksdb version you are on @chloeyin ?

chloeyin commented 6 months ago

@linxGnu RocksDB 9.1.1

linxGnu commented 6 months ago

@chloeyin please use latest release. It support RocksDB 9.1.1

You can find relevant mapping between grocksdb and rocksdb here: https://github.com/linxGnu/grocksdb/releases