• Tyler Smith's avatar
    feat,interop: add db syncing between nodes (#13357) · 590fc814
    Tyler Smith authored
    * feature: Allow adding arbitrary HTTP handlers to RPC HTTP Server.
    
    * feature: Add sync package to handle streaming db files between nodes.
    
    * tweak: Add DB sync server handler to op-supervisor server.
    
    * feature: Use db sync if it's configured and there's no existing db.
    
    * tweak: Use retry lib, which also adds max retries.
    
    * rename: SyncRPC -> SyncEndpoint.
    
    * tweak: Make the initial chain set part of the Server constructor.
    
    * cleanup: Remove unused functions.
    
    * rename: client -> syncClient to avoid package collision.
    
    * fix: Load DepSet and use for sync server.
    
    * tweak: Use client.BasicHTTPClient for sync client.
    
    * fix: Don't double concat the path.
    
    * tests,fix: Set sync resume to true.
    
    * tweak: Add error context.
    
    * tweak: Make http body close lint-friendly.
    
    * tweak: Change retry policy to backoff from 1s to 30s, up to 10 minutes.
    
    * tests,fix: Use require.ErrorIs to handle wrapped error.
    590fc814
Name
Last commit
Last update
..
entrydb Loading commit data...
fromda Loading commit data...
logs Loading commit data...
sync Loading commit data...
db.go Loading commit data...
file_layout.go Loading commit data...
file_layout_test.go Loading commit data...
open.go Loading commit data...
query.go Loading commit data...
update.go Loading commit data...