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

HCK-9245: UPSERT same keys #47

Merged
merged 4 commits into from
Jan 7, 2025
Merged

Conversation

chulanovskyi-bs
Copy link
Contributor

@chulanovskyi-bs chulanovskyi-bs commented Jan 6, 2025

Sub-bugHCK-9245 [CouchbaseV7] Incorrect handle of INSERT with the same key statement (failed but shows success) - Try to use Upsert instead to avoid errors

Technical details

  • use UPSERT clause by default when inserting documents
  • improved error handling for "already exists" cases for scopes/collections/indexes
  • skip SECONDARY index from final script if it doesn't contain selected keys

Copy link

sonarqubecloud bot commented Jan 6, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@serhii-filonenko serhii-filonenko enabled auto-merge (squash) January 7, 2025 08:40
@chulanovskyi-bs chulanovskyi-bs enabled auto-merge (squash) January 7, 2025 09:45
@chulanovskyi-bs chulanovskyi-bs merged commit db5db9c into develop Jan 7, 2025
9 of 11 checks passed
@chulanovskyi-bs chulanovskyi-bs deleted the fix/HCK-9245-upsert-same-key branch January 7, 2025 11:36
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.

2 participants