Skip to content

release-26.2.0-rc: release-26.2: sql/importer: disable INSPECT after IMPORT validation by default#168424

Merged
celiala merged 1 commit intocockroachdb:release-26.2.0-rcfrom
spilchen:blathers/backport-release-26.2.0-rc-168403
Apr 16, 2026
Merged

release-26.2.0-rc: release-26.2: sql/importer: disable INSPECT after IMPORT validation by default#168424
celiala merged 1 commit intocockroachdb:release-26.2.0-rcfrom
spilchen:blathers/backport-release-26.2.0-rc-168403

Conversation

@spilchen
Copy link
Copy Markdown
Contributor

@spilchen spilchen commented Apr 15, 2026

Backport 1/1 commits from #168403 on behalf of @spilchen.


IMPORT row count validation has been failing on drt-chaos-aws with multiple distinct failure modes (off-by-one, 2x doubling, deficit) despite prior fixes (#165697, #168158). This is suspected to be an accounting problem and not actual data corruption.

Change the default value of bulkio.import.row_count_validation.mode from async to off to prevent spurious INSPECT errors from surfacing in customer environments. The setting remains user-configurable and can be re-enabled once the root cause of #168396 is identified and fixed.

Metamorphic test builds continue to randomly exercise all three modes (off, async, sync).

Fixes: #168400
Epic: none
Release note: none

Release justification: see https://cockroachlabs.atlassian.net/servicedesk/customer/portal/138/ENGREQ-415

IMPORT row count validation has been failing on drt-chaos-aws with
multiple distinct failure modes (off-by-one, 2x doubling, deficit)
despite prior fixes (cockroachdb#165697, cockroachdb#168158). This is suspected to be an
accounting problem and not actual data corruption.

Change the default value of `bulkio.import.row_count_validation.mode`
from `async` to `off` to prevent spurious INSPECT errors from surfacing
in customer environments. The setting remains user-configurable and can
be re-enabled once the root cause of cockroachdb#168396 is identified and fixed.

Metamorphic test builds continue to randomly exercise all three modes
(off, async, sync).

Fixes: cockroachdb#168400
Epic: none
Release note: none

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@spilchen spilchen requested a review from a team as a code owner April 15, 2026 23:00
@spilchen spilchen requested review from DrewKimball and removed request for a team April 15, 2026 23:00
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Apr 15, 2026
@blathers-crl blathers-crl bot requested review from bghal, fqazi and rafiss April 15, 2026 23:00
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Apr 15, 2026

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Apr 15, 2026
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

:lgtm:

@fqazi reviewed 4 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on bghal, DrewKimball, and rafiss).

@celiala celiala merged commit 55b7ea8 into cockroachdb:release-26.2.0-rc Apr 16, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) target-release-26.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants