HarperFast / HarperFast/harper
drop_schema logs spurious 'Attempt to reset an invalid read txn' error
Open
area:storage
bug
from-jira
- Dominant language
- JavaScript
- Stars
- 89
- Forks
- 10
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 200
Description
## Problem
After dropping a schema (and components), the schema is successfully removed but the following error appears in logs:
```
Attempt to reset an invalid read txn Txn {
address: 105553145403728,
timerTracked: true,
refCount: 0,
isDone: true
}
uncaughtException Error: Attempt to reset an invalid read txn
at Timeout.resetReadTxn [as _onTimeout] (lmdb/read.js:1052:11)
```
Reproduced in a 4-node cluster with plexus replication, dropping components then the schema on each node.
🤖 Filed by Claude on behalf of Kris.
Contributor guide
Assessment
This issue has not been assessed yet.