curiosity-ai / rocksdb-sharp

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

OpenAsSecondary With Column Families doesn't initlize column families memory #17

Closed AllegraMcdonnell123 closed 2 years ago

AllegraMcdonnell123 commented 2 years ago

Hi just tried to use the new OpenAsSecondary feature and noticed that when you try to open the rocksdb with column families it throws memory couruption exception, i think this caused because the db instance is initialized with Native.Instance.rocksdb_open_as_secondary and not Native.Instance.rocksdb_open_as_secondary_column_families and thus the column families are not allocated into memory @roeeiit1 @theolivenbaum

roeeiit1 commented 2 years ago

Oh damn, When I'll get home from work I'll take a look, think it's a real quick fix tho

AllegraMcdonnell123 commented 2 years ago

Thanks for the quick response! :octocat: @theolivenbaum Could you please retrigger the azure build pipeline as i saw that it failed on the merge and thuse no new packages have been created?

theolivenbaum commented 2 years ago

I think there's an error in the code - I'll check later today - there was also a new rocksdb release, so good timing for a new package!