Server thread db access causes server to stop responding after sand starts falling #1
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ChromaGaming/LimitedCreative#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/TBMCPlugins/LimitedCreative/blame/spigot-1.9/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/BlockListener.java#L97
It's noted in the code as 'not optimal' but it seems to hang (shut down) the server sometimes when a sand is destroyed under another sand in creative.
LC hang because there was an uncaught exception in the DB thread:
this caused the thread to stop immediately, which left all further requests unfinished, causing the server thread to wait indefinitely
Thread stop fixed in
d7e4eaf
which should fix this problem as well.