Skip to content

Impr/bundler recovery 20260306#738

Merged
samcamwilliams merged 6 commits intoimpr/gunfrom
impr/bundler-recovery-20260306
Mar 7, 2026
Merged

Impr/bundler recovery 20260306#738
samcamwilliams merged 6 commits intoimpr/gunfrom
impr/bundler-recovery-20260306

Conversation

@JamesPiechota
Copy link
Collaborator

No description provided.

@JamesPiechota JamesPiechota marked this pull request as ready for review March 7, 2026 12:46
Now the dev_bundler server manages the dispatch workers directly
Continues the refactoring of the dev_bundler modules and implements functionality to allow unbundled items and unfinished bundles to be recovered incrementally rather than requiring that all data be loaded first before any of it is processed
also force an lmdb flush to disk to ensure recovered items are correctly persisted
@samcamwilliams samcamwilliams force-pushed the impr/bundler-recovery-20260306 branch from a0b2aa0 to 6e8130b Compare March 7, 2026 12:54
…ed regression within this PR)

Now we do 2 converts before posting a TX:
- one to build a Header-only TX that we use for posting. This makes the posting process much quicker
- one to biuld a full-data TX tha we use for caching and recovery

We shouldn't need to cache the full-data TX, so a future optmization can address that. We'll just have to be careful about rebuilding the data payload from the cache data items to ensure the reult is the same as when the original TX was posted
This breaks the HB loose coupling but for large bundles the TX posts in seconds instead of minutes
@samcamwilliams samcamwilliams merged commit dd9499c into impr/gun Mar 7, 2026
@samcamwilliams samcamwilliams deleted the impr/bundler-recovery-20260306 branch March 7, 2026 16:19
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.

2 participants