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

async world data IO saving #10171

Merged
merged 12 commits into from
Jan 20, 2024
Merged

Conversation

electronicboy
Copy link
Member

@electronicboy electronicboy commented Jan 17, 2024

Potential successor of #9408

This takes the same general sense of that PR, however makes it much safer in terms of shutdowns, unloads, etc, at the cost of having a thread per world dim store. In theory, this could easily be a shared single pool thread pool, I debated on using a shared more general pool however guaranteeing the safety of writes to this would require much more diff vs what is done here.


Download the paperclip jar for this pull request: paper-10171.zip

Cryptite and others added 8 commits September 20, 2021 08:53
uses a thread per dim store, this is not ideal but generally not a huge risk, maybe we could handle this
on the shared IO pool but it's generally not a big deal or likely worth the effort
@electronicboy electronicboy requested a review from a team as a code owner January 17, 2024 11:01
@electronicboy electronicboy added the build-pr-jar Enables a workflow to build Paperclip jars on the pull request. label Jan 17, 2024
CatTeaA referenced this pull request in pufferfish-gg/Pufferfish Jan 18, 2024
Copy link
Member

@kennytv kennytv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs identifying comments, but I can do that during my routine as well

and generally clean up the commenting a bit
@electronicboy electronicboy reopened this Jan 20, 2024
@kennytv kennytv merged commit b48d737 into PaperMC:master Jan 20, 2024
7 checks passed
lynxplay pushed a commit to lynxplay/paper that referenced this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-pr-jar Enables a workflow to build Paperclip jars on the pull request.
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants