S00002

Error Code

S00002

Error Message

<ChunkInTransaction>filepath has been owned by transaction

Causes

In DolphinDB, concurrent writes to the same chunk are now allowed. For concurrent write, update and delete operations, if a transaction attempts to lock a chunk that is already locked by another transaction, the error would occur.

Solutions

DolphinDB supports transactions and offers ACID (atomicity, consistency, isolation, durability) guarantees. For each insert, delete or update operation, DolphinDB creates a transaction to lock the corresponding chunks. For concurrent writes to a database, it is recommended that these writers do not perform insert, delete or update operations on the same chunk at the same time.