• protolambda's avatar
    op-batcher: adjust error handling on pending-channels after close (#7683) · 82d9f11e
    protolambda authored
    * op-batcher: adjust error handling on pending-channels after close
    
    * op-batcher: fix comment
    
    * Capitalize start of log messages
    Co-authored-by: default avatarAdrian Sutton <adrian@oplabs.co>
    
    * op-batcher: Add NonCompressor for testing purposes
    
    * op-node/rollup/derive: Return ErrChannelOutAlreadyClosed in SpanChannelOut
    
    * op-batcher: Add back outputFrames call to channelManager.Close
    
    Test added that validates that in rare circumstances this is needed.
    This happens in scenarios where a block is written to the compressor,
    but not flushed yet to the output buffer. If we don't call outputFrames
    in channelManager.Close, this test fails.
    
    * op-batcher: Improve logging
    
    - clarify that pending channels will be submitted
    - use same key "id" for channel ids everywhere
    
    ---------
    Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
    Co-authored-by: default avatarAdrian Sutton <adrian@oplabs.co>
    82d9f11e
Name
Last commit
Last update
..
batcher Loading commit data...
cmd Loading commit data...
compressor Loading commit data...
flags Loading commit data...
metrics Loading commit data...
rpc Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
Dockerfile.dockerignore Loading commit data...
Makefile Loading commit data...