When I use the Purge command to clean a large amount of content (e.g., over ten thousand entries), Ledger causes the server's main thread to block and eventually triggers the server Watchdog to force the server to crash.
Although it might be possible to try disabling the server Watchdog to solve this problem, I actually hope that Ledger can process or batch process on another thread to prevent the server from freezing.
Expected behavior
Execute the Purge command normally.
Observed/actual behavior
The server froze and then crashes due to watchdog.
For more information, see [Other].
Steps/models to reproduce
- Normally start the server
- Try executing a massive Purge command (e.g.
/ledger purge source:@gravity before:3d)
- The server initially observed a severe drop in TPS, and then (after ~10s) completely froze.
- Triggering Watchdog timeout, server crashes
What operating system are you running
Linux
Minecraft version
26.1.2
Ledger version
1.3.22
Logs
Agreements
When I use the Purge command to clean a large amount of content (e.g., over ten thousand entries), Ledger causes the server's main thread to block and eventually triggers the server Watchdog to force the server to crash.
Although it might be possible to try disabling the server Watchdog to solve this problem, I actually hope that Ledger can process or batch process on another thread to prevent the server from freezing.
Expected behavior
Execute the Purge command normally.
Observed/actual behavior
The server froze and then crashes due to watchdog.
For more information, see [Other].
Steps/models to reproduce
/ledger purge source:@gravity before:3d)What operating system are you running
Linux
Minecraft version
26.1.2
Ledger version
1.3.22
Logs
latest.log: https://mclo.gs/5h5kgELAgreements