You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When the auto-save is performed the persistent states (command storages used in /data ... storage) are saved which can cause significant lag when used heavily.
Describe the solution you'd like
It would like it to be saved asyncronously when performed in the auto-save so it won't lag out the server.
Is your feature request related to a problem? Please describe.
When the auto-save is performed the persistent states (command storages used in /data ... storage) are saved which can cause significant lag when used heavily.
Describe the solution you'd like
It would like it to be saved asyncronously when performed in the auto-save so it won't lag out the server.
Describe alternatives you've considered
Additional context
I'm talking about the ServerWorld#saveLevel method which saves the persistant states synchronously.
This doesn't occour in paper due to their IO rewrite.(https://github.com/PaperMC/Paper/blob/f4c7d373e4a1aff23539fe099745bf29a28559b9/patches/server/0999-Write-SavedData-IO-async.patch#L79)
With the [ioSystem].replaceImpl you can't see this in spark reports but it still lags.
Mojang Ticket: https://bugs.mojang.com/browse/MC-270159
The text was updated successfully, but these errors were encountered: