You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation for merging throws a RocksDbSharp.RocksDbException: 'Corruption: Error: Could not perform merge.'
After some investigation, I believe it happens because the parameters success and newValueLength of the methods PartialMerge and FullMerge are required to be set by the user:
Hi,
The current implementation for merging throws a RocksDbSharp.RocksDbException: 'Corruption: Error: Could not perform merge.'
After some investigation, I believe it happens because the parameters success and newValueLength of the methods PartialMerge and FullMerge are required to be set by the user:
rocksdb-sharp/RocksDbSharp/MergeOperator.cs
Lines 7 to 13 in 5b4b0bc
I got rid off the exception by adding the out paramater modifiers to the parameters mentioned above.
Do you accept contributions? As mentioned in commit 32f2ea7, the interface can certainly be more helpful to users ;)
Thanks to anyone involved with the project!
The text was updated successfully, but these errors were encountered: