Concurrent WriteBatch

Hi,

I would like to know if it is OK to have multiple concurrent WriteBatch.

Also is inserting multiple values for a same key in one WriteBatch will keep all the value versions ?

Thanks !

Multiple concurrent writebatch is OK.

Multiple writes to the same key in the same writebatch would not keep all the versions. It’s possible that multiple writes to the same key would go into the same underlying txn, and hence would just overwrite the previous value, before committing.