Skip to content

Disable concurrent requests in legacy sync manager#7491

Merged
tersec merged 1 commit into
unstablefrom
dev/etan/sm-1
Sep 15, 2025
Merged

Disable concurrent requests in legacy sync manager#7491
tersec merged 1 commit into
unstablefrom
dev/etan/sm-1

Conversation

@etan-status

Copy link
Copy Markdown
Contributor

This gets rid of the race that led to #7394 by disabling some of the optimizations introduced in #6722. Given that sync manager will be replaced soon for Fulu, and the long time typically needed until the issue is triggered, not sure how important / appropriate.

This gets rid of the race that led to #7394 by disabling some of the
optimizations introduced in #6722. Given that sync manager will be
replaced soon for Fulu, and the long time typically needed until the
issue is triggered, not sure how important / appropriate.
@github-actions

Copy link
Copy Markdown

Unit Test Results

       15 files  ±0    2 990 suites  ±0   1h 19m 42s ⏱️ + 2m 5s
11 260 tests ±0  10 698 ✔️ ±0  562 💤 ±0  0 ±0 
72 121 runs  ±0  71 329 ✔️ ±0  792 💤 ±0  0 ±0 

Results for commit 04d6b64. ± Comparison against base commit 5901e98.

@tersec

tersec commented Sep 13, 2025

Copy link
Copy Markdown
Contributor

To what extent does it slow sync? That's one potential reason to avoid doing it.

@etan-status

Copy link
Copy Markdown
Contributor Author

On that system (Raspberry Pi), it shows around 2.5 slots per second before and after, so it doesn't really slow it there. It obviously depends on the network situation and hardware, I'm not sure. With the fix, no restarts have been needed for days, so I'm confident that this workaround resolves the linked issue with sync getting stuck. One thing that's a bit worrisome is that this has nothing to do with the issue originally being reported based on a Genesis sync, there is nothing magical about "1 day", it might happen earlier.

@tersec tersec merged commit 30d6e8c into unstable Sep 15, 2025
12 checks passed
@tersec tersec deleted the dev/etan/sm-1 branch September 15, 2025 16:04
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.

3 participants