This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Commit 8d5cf96
authored
Sequencer L2 block parallel processing improvements (#3604)
* wip
* first implementation of parallel sequencer optmizations and L2 block reorg management
* Close sipBatch (if needed) when processing reorg. Halt when 2 consecuties reorgs (same L2 block)
* Return error when reserved counters overflow on l2 block process. Log used/reserved counters when closing wip batch
* added logs to analyze blocking issue when storing L2 block
* Fix unlock mutex in addTxTracker. Set wipTx to nil in RestoreTxsPendingToStore
* add high reserved resorces in wipBatch
* store high reserved counter on statedb.batch table
* Return contextId in ProcessBatchV2
* fix synchornizer test
* Set SequentialProcessL2Block to false by default. Update node config documentation
* fix non-e2e tests
* fix finalizer tests
* remove unused code
* test
* Fix sequencer loadFromPool gofunc. Fix docker compose variables1 parent e261069 commit 8d5cf96
File tree
41 files changed
+1208
-497
lines changed- config
- environments/local
- db/migrations/state
- docs/config-file
- event
- sequencer
- state
- pgstatestorage
- test/forkid_etrog
- synchronizer
- common/syncinterfaces
- mocks
- l2_sync/l2_sync_etrog
- mocks
- test
- config
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+1208
-497
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
130 | | - | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2083 | 2083 | | |
2084 | 2084 | | |
2085 | 2085 | | |
| 2086 | + | |
2086 | 2087 | | |
2087 | 2088 | | |
2088 | 2089 | | |
| |||
2216 | 2217 | | |
2217 | 2218 | | |
2218 | 2219 | | |
2219 | | - | |
| 2220 | + | |
2220 | 2221 | | |
2221 | 2222 | | |
2222 | 2223 | | |
| |||
2240 | 2241 | | |
2241 | 2242 | | |
2242 | 2243 | | |
2243 | | - | |
| 2244 | + | |
2244 | 2245 | | |
2245 | 2246 | | |
2246 | 2247 | | |
| |||
2254 | 2255 | | |
2255 | 2256 | | |
2256 | 2257 | | |
2257 | | - | |
| 2258 | + | |
2258 | 2259 | | |
2259 | 2260 | | |
2260 | | - | |
| 2261 | + | |
2261 | 2262 | | |
2262 | 2263 | | |
2263 | 2264 | | |
| |||
2286 | 2287 | | |
2287 | 2288 | | |
2288 | 2289 | | |
2289 | | - | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2290 | 2318 | | |
2291 | 2319 | | |
2292 | 2320 | | |
| |||
2301 | 2329 | | |
2302 | 2330 | | |
2303 | 2331 | | |
2304 | | - | |
| 2332 | + | |
2305 | 2333 | | |
2306 | 2334 | | |
2307 | 2335 | | |
| |||
2316 | 2344 | | |
2317 | 2345 | | |
2318 | 2346 | | |
2319 | | - | |
| 2347 | + | |
2320 | 2348 | | |
2321 | 2349 | | |
2322 | 2350 | | |
2323 | | - | |
| 2351 | + | |
2324 | 2352 | | |
2325 | 2353 | | |
2326 | 2354 | | |
2327 | 2355 | | |
2328 | | - | |
| 2356 | + | |
2329 | 2357 | | |
2330 | 2358 | | |
2331 | | - | |
| 2359 | + | |
2332 | 2360 | | |
2333 | 2361 | | |
2334 | | - | |
| 2362 | + | |
2335 | 2363 | | |
2336 | 2364 | | |
2337 | 2365 | | |
| |||
2341 | 2369 | | |
2342 | 2370 | | |
2343 | 2371 | | |
2344 | | - | |
| 2372 | + | |
2345 | 2373 | | |
2346 | 2374 | | |
2347 | 2375 | | |
| |||
2367 | 2395 | | |
2368 | 2396 | | |
2369 | 2397 | | |
2370 | | - | |
| 2398 | + | |
2371 | 2399 | | |
2372 | 2400 | | |
2373 | 2401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
828 | | - | |
| 828 | + | |
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| |||
836 | 836 | | |
837 | 837 | | |
838 | 838 | | |
839 | | - | |
| 839 | + | |
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
855 | 865 | | |
856 | 866 | | |
857 | 867 | | |
| |||
865 | 875 | | |
866 | 876 | | |
867 | 877 | | |
868 | | - | |
| 878 | + | |
869 | 879 | | |
870 | 880 | | |
871 | 881 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments