mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-13 03:10:03 -05:00
[ga-format-pr] Run go/utils/repofmt/format_repo.sh and go/Godeps/update.sh
This commit is contained in:
@@ -60,8 +60,8 @@ func (bsp *blobstorePersister) Persist(ctx context.Context, mt *memTable, haver
|
||||
// persist this table in two parts to facilitate later conjoins
|
||||
records, tail := data[:splitOffset], data[splitOffset:]
|
||||
|
||||
recordsName := name+tableRecordsExt
|
||||
tailName := name+tableTailExt
|
||||
recordsName := name + tableRecordsExt
|
||||
tailName := name + tableTailExt
|
||||
|
||||
// first write table records and tail (index+footer) as separate blobs
|
||||
eg, ectx := errgroup.WithContext(ctx)
|
||||
@@ -249,8 +249,8 @@ func (bsp *blobstorePersister) CopyTableFile(ctx context.Context, r io.Reader, n
|
||||
|
||||
indexLen := int64(fileSz - splitOffset)
|
||||
|
||||
recordsName := name+tableRecordsExt
|
||||
tailName := name+tableTailExt
|
||||
recordsName := name + tableRecordsExt
|
||||
tailName := name + tableTailExt
|
||||
// check if we can Put concurrently
|
||||
rr, ok := r.(io.ReaderAt)
|
||||
if !ok {
|
||||
|
||||
@@ -159,6 +159,7 @@ func TestConjoin(t *testing.T) {
|
||||
}
|
||||
|
||||
type testConjoinMode int
|
||||
|
||||
const (
|
||||
testConjoinModeTableFile testConjoinMode = iota
|
||||
testConjoinModeArchive
|
||||
|
||||
Reference in New Issue
Block a user