-
Notifications
You must be signed in to change notification settings - Fork 159
feat(sync): decouple code syncer from state syncer and run concurrently #1140
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
Merged
Merged
Changes from 28 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
a2b5450
feat(sync/vm): parallelize syncer execution with errgroup
powerslider 2b8b9e3
Merge branch 'master' into powerslider/1130-concurrent-syncers
powerslider 13f7c4a
test(sync/vm): simplify registry tests using utilstest
powerslider 292f8b2
test(sync/vm): remove unnecessary test cleanups
powerslider 47e71af
test: forgot to add FuncSyncer implementations
powerslider f6174a4
test: improve comments
powerslider 9772d76
test: use require.FailNow instead of t.Fatal
powerslider f3e03b8
test: make the base test timeout be derived by t.Deadline
powerslider 0d62f6d
Merge branch 'master' into powerslider/1130-concurrent-syncers
powerslider 90d2911
fix: gci formatting
powerslider 5c49827
fix: do not assume on first syncer failing
powerslider 40b7313
fix: more remarks
powerslider a6497d2
Merge branch 'master' into powerslider/1130-concurrent-syncers
powerslider 489cb79
feat(sync): decouple code syncer from state syncer and run concurrently
powerslider 8645bc3
fix: split table test into separate tests to reduce complexity
powerslider 5436497
Merge branch 'powerslider/1130-concurrent-syncers' into powerslider/1…
powerslider 0451ace
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider d4be816
chore: refactor and rename code syncer interfaces
powerslider e569f56
fix: more renaming
powerslider f86373b
fix: goimports
powerslider bab7f02
fix: gci format
powerslider 49f3c53
chore(sync): add Ready() to CodeFetcher and gate state sync startup
powerslider c422987
fix: broken test and lint issue
powerslider 19fe953
chore: rename FinishCodeCollection to Finalize
powerslider b3c04be
docs: document CodeFetcher
powerslider 9f2f658
fix: ignore require_no_error_inline_func due to messing with the cont…
powerslider ed714de
fix: workaround for require_no_error_inline_func due to messing with …
powerslider 78f536e
fix: modify test_require_no_error_inline_func to flag only single-LHS…
powerslider b7d98a3
fix: remove atomic name in client.go
powerslider 0ec9d1d
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider f20fe23
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 01aeeee
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 14fe808
feat(sync): add Name() and ID() to Syncer interface to make syncer im…
powerslider 5063873
feat(statesync): introduce CodeFetcherQueue and decouple CodeSyncer c…
powerslider c7b86db
fix: move getCodeToFetchFromDB to code fetcher
powerslider e8fee23
fix: add CodeFetcherOption type
powerslider 3a447b6
fix: some formatting
powerslider bd5be21
fix: PR remarks on tests
powerslider af55380
fix: more PR remarks on tests
powerslider 1f971aa
fix: add ability to track in-flight AddCode calls to coordinate clean…
powerslider 401b564
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 5be557a
refactor(sync/statesync): harden code fetcher lifecycle, improve shut…
powerslider ee8b54f
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 51873a1
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 2097dbc
fix: apply recommended optimizations
powerslider 4c64aa5
feat(sync/statesync): adopt single forwarder pattern for CodeQueue
powerslider 8492d1e
fix: channel close races
powerslider af18251
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 63b8dbd
fix: linter error and simplify in tests
powerslider 3151ef3
fix: some naming changes
powerslider be20084
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider aed34f1
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 0b35e75
refactor(plugin/evm): move syncer client/registry to plugin/evm/vmsyn…
powerslider 5487e18
Remove libevm `cmd/*` packages. (#1224)
JonathanOppenheimer ed6bb70
Remove libevm `signer` package (#1225)
JonathanOppenheimer 35e6b12
Remove duplicate cancun checks (#1223)
alarso16 446f283
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider f8a7e4c
fix: some naming changes
powerslider adadd3c
refactor: simplify `CodeQueue` fan-in (#1254)
powerslider e5d0c7d
refactor(statesync): simplify CodeQueue, remove auto-init, rename cap…
powerslider 76e1ce0
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 41f199e
refactor(statesync): move code deduplication from queue (producer) to…
powerslider 8f779fd
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider dc046e8
fix: some naming changes
powerslider 3e9f945
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 416a906
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider 54c2592
fix(statesync): prevent data race by serializing out close with enqueues
powerslider 6b1a6e3
fix(statesync): eliminate send/close race in code queue
powerslider 3b596bb
fix: remove unused method
powerslider ebfbed4
Merge branch 'master' into powerslider/1139-code-syncer-decoupling
powerslider aea5f06
fix(statesync): serialize code ownership and release after durable co…
powerslider c895e3d
fix: handle error for `Finalize` call
powerslider a40996b
fix(statesync): make Finalize idempotent via CAS; error only on quit
powerslider f535b36
refactor(statesync): remove `CodeRequestQueue` interface and use `Cod…
powerslider 1aad3e7
refactor(statesync): simplify CodeQueue by removing AddCode state che…
powerslider 13d652e
fix(statesync): add fix to align with `AddCode` contract
powerslider File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.