Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/{store,libraries/doltcore/remotestorage}: Make the code peddling in nbs table file formats a little more explicit about it. #101

Merged
merged 13 commits into from
Oct 2, 2019

Conversation

reltuk
Copy link
Contributor

@reltuk reltuk commented Oct 1, 2019

No description provided.

…n nbs table file formats a little more explicit about it.
@reltuk reltuk requested a review from bheni October 1, 2019 19:23
go/store/nbs/table_reader.go Outdated Show resolved Hide resolved
go/store/nbs/table_reader.go Outdated Show resolved Hide resolved
Copy link
Contributor

@bheni bheni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple suggestions.

lgtm

go/libraries/doltcore/doltdb/table.go Show resolved Hide resolved
go/store/datas/puller.go Outdated Show resolved Hide resolved
go/store/nbs/mem_table.go Show resolved Hide resolved
go/store/nbs/table_reader.go Outdated Show resolved Hide resolved
@@ -200,7 +200,7 @@ func LoadLeafNodes(ctx context.Context, cols []Collection, startIdx, endIdx uint
var ok bool
childCols[i], ok = v.(Collection)
if !ok {
return nil, 0, errors.New("corrupted database; nil where child collection .(Collection) should be")
return nil, 0, fmt.Errorf("corrupted database; nil where child collection .(Collection) should be; i: %v, h: %v", i, hs[i])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add

; indexed_sequence;

to here to be consistent from the meta_sequence error.

go/store/nbs/table_reader.go Show resolved Hide resolved
@reltuk reltuk merged commit beace1d into master Oct 2, 2019
@Hydrocharged Hydrocharged deleted the aaron/go-chunkstore-no-getmanycompressed branch November 11, 2019 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants