Repository navigation
Fix some bugs in tombstone writer - #19075
Merged
mergify[bot] merged 5 commits intoSep 29, 2024
Merged
Conversation
XuPeng-SH
requested review from
LeftHandCold,
m-schen,
ouyuanning and
triump2020
as code owners
September 29, 2024 00:34
LeftHandCold
approved these changes
Sep 29, 2024
ouyuanning
approved these changes
Sep 29, 2024
triump2020
approved these changes
Sep 29, 2024
m-schen
approved these changes
Sep 29, 2024
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
1. fix some bugs in the writer for the following data migration 2. refactor some api 3. remove unused code Approved by: @LeftHandCold, @ouyuanning, @triump2020, @m-schen
This was referenced Sep 1, 2026
XuPeng-SH
pushed a commit
that referenced
this pull request
Sep 1, 2026
## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue #26870 issue #27407 ## What this PR does / why we need it: The production error-propagation fix for `objectWriterV1.Write` and `WriteWithoutSeqnum` already landed incidentally in #26616, but its regression test covered only `Write`. Expand the deterministic malformed-vector regression into a table that exercises both current public `AddBlock` wrappers. Each entry point must return the serialization error and a nil block instead of advertising an unaccepted block. `WriteTombstone` is intentionally not included: it was removed from the current writer path by #19075. `WriteSubBlock` already returns the lower-level error directly and does not have the swallowed-error wrapper shape. Tested with: `go test -mod=readonly -v -count=1 -timeout=120s -run '^TestObjectWriterPropagatesMarshalError$' ./pkg/objectio` `go test -mod=readonly -count=1 -timeout=120s ./pkg/objectio` Also validated with `go build`, `go vet`, and `git diff --check` for `pkg/objectio`. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…igin#27949) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26870 issue matrixorigin#27407 ## What this PR does / why we need it: The production error-propagation fix for `objectWriterV1.Write` and `WriteWithoutSeqnum` already landed incidentally in matrixorigin#26616, but its regression test covered only `Write`. Expand the deterministic malformed-vector regression into a table that exercises both current public `AddBlock` wrappers. Each entry point must return the serialization error and a nil block instead of advertising an unaccepted block. `WriteTombstone` is intentionally not included: it was removed from the current writer path by matrixorigin#19075. `WriteSubBlock` already returns the lower-level error directly and does not have the swallowed-error wrapper shape. Tested with: `go test -mod=readonly -v -count=1 -timeout=120s -run '^TestObjectWriterPropagatesMarshalError$' ./pkg/objectio` `go test -mod=readonly -count=1 -timeout=120s ./pkg/objectio` Also validated with `go build`, `go vet`, and `git diff --check` for `pkg/objectio`. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…igin#27949) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26870 issue matrixorigin#27407 ## What this PR does / why we need it: The production error-propagation fix for `objectWriterV1.Write` and `WriteWithoutSeqnum` already landed incidentally in matrixorigin#26616, but its regression test covered only `Write`. Expand the deterministic malformed-vector regression into a table that exercises both current public `AddBlock` wrappers. Each entry point must return the serialization error and a nil block instead of advertising an unaccepted block. `WriteTombstone` is intentionally not included: it was removed from the current writer path by matrixorigin#19075. `WriteSubBlock` already returns the lower-level error directly and does not have the swallowed-error wrapper shape. Tested with: `go test -mod=readonly -v -count=1 -timeout=120s -run '^TestObjectWriterPropagatesMarshalError$' ./pkg/objectio` `go test -mod=readonly -count=1 -timeout=120s ./pkg/objectio` Also validated with `go build`, `go vet`, and `git diff --check` for `pkg/objectio`. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
…igin#27949) ## What type of PR is this? - [ ] API-change - [x] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#26870 issue matrixorigin#27407 ## What this PR does / why we need it: The production error-propagation fix for `objectWriterV1.Write` and `WriteWithoutSeqnum` already landed incidentally in matrixorigin#26616, but its regression test covered only `Write`. Expand the deterministic malformed-vector regression into a table that exercises both current public `AddBlock` wrappers. Each entry point must return the serialization error and a nil block instead of advertising an unaccepted block. `WriteTombstone` is intentionally not included: it was removed from the current writer path by matrixorigin#19075. `WriteSubBlock` already returns the lower-level error directly and does not have the swallowed-error wrapper shape. Tested with: `go test -mod=readonly -v -count=1 -timeout=120s -run '^TestObjectWriterPropagatesMarshalError$' ./pkg/objectio` `go test -mod=readonly -count=1 -timeout=120s ./pkg/objectio` Also validated with `go build`, `go vet`, and `git diff --check` for `pkg/objectio`. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #18631
What this PR does / why we need it: