-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
https://github.com/facebook/rocksdb/wiki/Merge-Operator#associativity-vs-non-associativity
Merge operators in blockchain module are not associative. e.g. https://github.com/yangl1996/prism-rust/blob/master/src/blockchain/mod.rs#L1610
Sometimes RocksDb tries to execute the merge operator in the backend, supplying it with values already in the database. This is invalid to our merge operators. E.g. in the case above, the operator takes a singe tuple, while the value stored in the table is a vector of another type.
Metadata
Metadata
Assignees
Labels
No labels