Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"flush-regions-on-save: true" is not working #11328

Open
alandamore opened this issue Aug 25, 2024 · 3 comments
Open

"flush-regions-on-save: true" is not working #11328

alandamore opened this issue Aug 25, 2024 · 3 comments
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.21.1

Comments

@alandamore
Copy link

Expected behavior

Edit config\paper-world-defaults.yml
Change flush-regions-on-save: from "false" to "true", restart server.
I expect to see regions with changed blocks to be written to disk when the autosave (default every 5 mins) happens.

Observed/Actual behavior

Region files are not updated on the hard drive. The timestamp doesn't alter. When using Bluemap it never decides to trigger an update. Extra info: A server command "save-all" does not save regions. "save-all flush" does save to disk (and then Bluemap sees the change).

Steps/models to reproduce

I'm using Windows 10 Pro 22H2, and Amazon Coretto - "java -version" gives "openjdk version "21.0.4" 2024-07-16 LTS".

  1. Start a brand new, default paper server, no flags, no plugins, accept EULA:
    java.exe -jar paper-1.21.1-45.jar

  2. Connect a client, break some blocks, disconnect.

  3. Stop the server to force regions to be written to disk.

  4. Edit config\paper-world-defaults.yml: Change flush-regions-on-save: from "false" to "true", save file.

  5. Restart server.

  6. Connect client, break some blocks...

  7. Observe the files in \world\region, they do not get updated unless a "save-all flush" is issued.

(Yes, I waited a long time [many minutes] and also tried with "bukkit.yml" "autosave:" changed from 6000 to 1200 to try to hurry it up...)

Plugin and Datapack List

No plugins, default "bare bones" paper installation
There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]

Paper version

This server is running Paper version 1.21.1-45-master@5b2c43e (2024-08-25T18:01:51Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version

Other

No response

@alandamore alandamore added status: needs triage type: bug Something doesn't work as it was intended to. labels Aug 25, 2024
@electronicboy electronicboy closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2024
@electronicboy
Copy link
Member

that config option is apparently no longer wired up in the new chunk system? @Spottedleaf

@electronicboy electronicboy reopened this Aug 25, 2024
@electronicboy
Copy link
Member

The issue was re-opened awaiting comment from leaf, that system property should enable the option in server.properties; if that doesn't work, that would be on leaf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.21.1
Projects
Status: 🕑 Needs Triage
Development

No branches or pull requests

2 participants