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

Make sure to buffer the run after request_spsa. #2243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vdbergh
Copy link
Contributor

@vdbergh vdbergh commented Feb 24, 2025

If we don't this then the spsa_params for the workers may not survive a server restart.

This fixes another issue with #2239.

If we don't this then the spsa_params for the workers may not
survive a server restart.

This fixes another issue with official-stockfish#2239.
@vdbergh
Copy link
Contributor Author

vdbergh commented Feb 24, 2025

You can add a bug label to this. Modifying a run object without buffering is a bug (the run will not be written to disk, even if the server is restarted cleanly). One may not always notice it since the run object may be buffered later after a different operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement server server side changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants