mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-15 11:20:37 -05:00
Part of feedback
This commit is contained in:
@@ -388,7 +388,7 @@ func (rs *RemoteChunkStore) Rebase(ctx context.Context, req *remotesapi.RebaseRe
|
||||
err = cs.Rebase(ctx)
|
||||
|
||||
if err != nil {
|
||||
logger.Printf("error occurred during processing of Rebace rpc of %s details: %v", repoPath, err)
|
||||
logger.Printf("error occurred during processing of Rebase rpc of %s details: %v", repoPath, err)
|
||||
return nil, status.Errorf(codes.Internal, "failed to rebase: %v", err)
|
||||
}
|
||||
|
||||
|
||||
@@ -262,7 +262,7 @@ func (nbs *NomsBlockStore) UpdateManifest(ctx context.Context, updates map[hash.
|
||||
|
||||
contents.lock = generateLockHash(contents.root, contents.specs, contents.appendix)
|
||||
|
||||
// ensure we dont drop existing appendices
|
||||
// ensure we don't drop existing appendices
|
||||
if contents.appendix != nil && len(contents.appendix) > 0 {
|
||||
contents, err = fromManifestAppendixOptionNewContents(contents, contents.appendix, ManifestAppendixOption_Set)
|
||||
if err != nil {
|
||||
@@ -1500,7 +1500,8 @@ func (nbs *NomsBlockStore) MarkAndSweepChunks(ctx context.Context, last hash.Has
|
||||
return nbs.upstream
|
||||
}()
|
||||
|
||||
return nbs.p.PruneTableFiles(ctx, currentContents, time.Now())
|
||||
t := time.Now()
|
||||
return nbs.p.PruneTableFiles(ctx, currentContents, t)
|
||||
} else {
|
||||
fileIdToNumChunks := tableSpecsToMap(specs)
|
||||
err = destNBS.AddTableFilesToManifest(ctx, fileIdToNumChunks)
|
||||
|
||||
Reference in New Issue
Block a user