-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore(persistence): replace transaction manager with Reactor #4800
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Auto Saving - works
- Loading saved game - don't works ( exit to main menu -> game -> load game)
- Loading saved game with restart game - works
Loading without restart game:
- stuck at await player spawn
- chunks loads (Chunks present in heap)
- I notice several LocalPlayerSystems in heap (via heap dump)
- SaveTransactions is not present (it is right)
- guess entities not loads(?)
I've heard people talk about problems loading more than one world before. Are the bugs you've noted here new in this branch, or are they problems that exist in develop? |
This problem is new. New problem have another symptoms. (Noted) |
I did tweak the behavior but I guess its still wrong. |
I think the reason that the tests are failing is because I'm also frustrated because I really want Reactor to have a tidy interface for this sort of thing, instead of trying to add our own bookkeeping on top of it, but I have yet to figure out anything that's a good fit for the StorageManager's current API. |
65f38b6
to
68ddfff
Compare
branch has been replaced since review time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-wise, this looks reasonable to me, but I still need to test it. Hope I'll get to that tomorrow after work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests out fine.
this replaces the saveThreadManager with a singleSubject I think this change is a lot easier to follow then some of the strange logic with TaskMaster.
Blockers
Convert StorageManagerTest to MTE #5032
🯄 crash on loading a save with animals #5051
Part of #4798