Skip to content

Fix reload#178

Closed
nastya wants to merge 3 commits into
knyar:mainfrom
solidwall:fix-reload
Closed

Fix reload#178
nastya wants to merge 3 commits into
knyar:mainfrom
solidwall:fix-reload

Conversation

@nastya
Copy link
Copy Markdown

@nastya nastya commented Jan 29, 2026

Make first sync after load a critical section. Fix nginx hanging on reload due to all workers syncing simultaneously.

Add lock from lua-resty-lock to organize it.
Also return 503 http code when collecting metrics before first sync finished.

Anastasia Shcherbinina added 3 commits January 14, 2026 15:33
1) Turn synchronising keys into a batch operation
2) Do not apply new changes to shared metrics dict unless
current worker state is fully synchronised with shared dict.
Add lock from lua-resty-lock to organize it.
Also return 503 http code when collecting metrics before
first sync finished.

See REDMINE-13677
@nastya nastya closed this Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant