Upgrade versions of vendored libs
This commit is contained in:
7
vendor/github.com/cockroachdb/pebble/sstable/write_queue.go
generated
vendored
7
vendor/github.com/cockroachdb/pebble/sstable/write_queue.go
generated
vendored
@@ -17,8 +17,6 @@ type writeTask struct {
|
||||
// currIndexBlock is the index block on which indexBlock.add must be called.
|
||||
currIndexBlock *indexBlockBuf
|
||||
indexEntrySep InternalKey
|
||||
// inflightSize is used to decrement Writer.coordination.sizeEstimate.inflightSize.
|
||||
inflightSize int
|
||||
// inflightIndexEntrySize is used to decrement Writer.indexBlock.sizeEstimate.inflightSize.
|
||||
indexInflightSize int
|
||||
// If the index block is finished, then we set the finishedIndexProps here.
|
||||
@@ -69,11 +67,6 @@ func (w *writeQueue) performWrite(task *writeTask) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Update the size estimates after writing the data block to disk.
|
||||
w.writer.coordination.sizeEstimate.dataBlockWritten(
|
||||
w.writer.meta.Size, task.inflightSize, int(bh.Length),
|
||||
)
|
||||
|
||||
bhp = BlockHandleWithProperties{BlockHandle: bh, Props: task.buf.dataBlockProps}
|
||||
if err = w.writer.addIndexEntry(
|
||||
task.indexEntrySep, bhp, task.buf.tmp[:], task.flushableIndexBlock, task.currIndexBlock,
|
||||
|
||||
Reference in New Issue
Block a user