CompleteBlock iterates the given WAL block and flushes it to the TempoDB backend.
(ctx context.Context, block common.WALBlock)
| 246 | |
| 247 | // CompleteBlock iterates the given WAL block and flushes it to the TempoDB backend. |
| 248 | func (rw *readerWriter) CompleteBlock(ctx context.Context, block common.WALBlock) (common.BackendBlock, error) { |
| 249 | return rw.CompleteBlockWithBackend(ctx, block, rw.r, rw.w) |
| 250 | } |
| 251 | |
| 252 | // CompleteBlockWithBackend iterates the given WAL block but flushes it to the given backend instead of the default TempoDB backend. The |
| 253 | // new block will have the same ID as the input block. |
nothing calls this directly
no test coverage detected