fluree / core

Fluree releases and public bug reports
0 stars 0 forks source link

Investigate (Add Tests) for Index Writing on Concurrent Txns #68

Open aaj3f opened 6 months ago

aaj3f commented 6 months ago

Description

When using https://github.com/fluree/nexus-load-script to test concurrent txns locally against server, errors are thrown when 2+ txns are submitted concurrently. The following behavior is observed:

While it is hard to test this without both leveraging an in-mem instance (to allow for ephemeral test instances of db) and also an instance that creates index data (which, IIRC, mem conn instances do not), we should add tests for concurrent txns to ensure that the behavior we are experiencing is acceptable (e.g. that all data is being captured and committed, that index data is being written comprehensively, that commit/t value handling is correct)