Skip to content

Add known limitation: bulkmerge: distributed merge fails when a participating SQL instance goes down#23212

Merged
rmloveland merged 5 commits into
mainfrom
20260422-DOC-16673-bulk-merge-known-limitation
Apr 24, 2026
Merged

Add known limitation: bulkmerge: distributed merge fails when a participating SQL instance goes down#23212
rmloveland merged 5 commits into
mainfrom
20260422-DOC-16673-bulk-merge-known-limitation

Conversation

@rmloveland
Copy link
Copy Markdown
Contributor

Fixes DOC-16673

…when a participating SQL instance goes down

Fixes DOC-16673
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit aeceaa7
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/69ebd48320cc3f00087cef00

@github-actions
Copy link
Copy Markdown

Files changed:

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit aeceaa7
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/69ebd483f8ffc70008feefaa

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Netlify Preview

Name Link
🔨 Latest commit aeceaa7
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/69ebd4831120520008e83160
😎 Deploy Preview https://deploy-preview-23212--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

- After importing into an existing table, [constraints]({% link {{ page.version.version }}/constraints.md %}) will be un-validated and need to be [re-validated]({% link {{ page.version.version }}/alter-table.md %}#validate-constraint).
- Imported rows must not conflict with existing rows in the table or any unique secondary indexes.
- `IMPORT INTO` works for only a single existing table.
- When `IMPORT INTO` uses distributed merge, it stores intermediate SST files on participating SQL instances' local storage. If one of those SQL instances becomes unavailable during the merge phase, the job fails with a permanent error and must be restarted after that SQL instance becomes available again.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I believe the error is only permanent if the instance doesn't become available again, otherwise the job waits for the instance to come back up.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks @mw5h - updated to

When IMPORT INTO uses distributed merge, it stores intermediate SST files on participating SQL instances' local storage. If one of those SQL instances becomes unavailable during the merge phase, the job waits for that SQL instance to become available again. If the SQL instance does not become available again, the job fails with a permanent error.

PTAL!

@rmloveland rmloveland requested a review from mw5h April 24, 2026 18:27
@rmloveland rmloveland changed the title Add known limitation: bulkmerge: distributed merge permanently fails when a participating SQL instance goes down Add known limitation: bulkmerge: distributed merge fails when a participating SQL instance goes down Apr 24, 2026
Copy link
Copy Markdown
Contributor

@bsanchez-the-roach bsanchez-the-roach left a comment

Choose a reason for hiding this comment

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

LGTM

@rmloveland
Copy link
Copy Markdown
Contributor Author

ok, merging this so we have it in place for Monday's release. If the wording update still needs tweaks, happy to do more going forward!

@rmloveland rmloveland enabled auto-merge (squash) April 24, 2026 20:33
@rmloveland rmloveland merged commit b83d670 into main Apr 24, 2026
6 checks passed
@rmloveland rmloveland deleted the 20260422-DOC-16673-bulk-merge-known-limitation branch April 24, 2026 20:48
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.

3 participants