fix: increase the tiering part size to 128MiB (#19424)

also introduce 8MiB buffer to read from for
bigger parts
This commit is contained in:
Harshavardhana
2024-04-08 02:22:27 -07:00
committed by GitHub
parent 04101d472f
commit c957e0d426
6 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ func (r *RenameDataInlineHandlerParams) Recycle() {
if r == nil {
return
}
if cap(r.FI.Data) >= xioutil.BlockSizeSmall {
if cap(r.FI.Data) >= xioutil.SmallBlock {
grid.PutByteBuffer(r.FI.Data)
r.FI.Data = nil
}