Skip to content

Conversation

@PavelShilin89
Copy link
Contributor

Type of Change:

  • Bug fix

Description of the Change:

  • This PR added with SLT-test testing fixes a bug where auto-ID generation in Manticore Search only checked for duplicates in RAM segments, ignoring disk segments. As a result, when multiple nodes in a cluster had the same server_id , INSERT operations with auto-ID from different nodes would overwrite the same document, resulting in data loss and inconsistency. This fix improves data integrity in clustered environments by preventing auto-ID conflicts when multiple nodes are running concurrently.

Related Issue (provide the link):
#3186

@PavelShilin89 PavelShilin89 requested a review from tomatolog March 30, 2025 19:21
@PavelShilin89 PavelShilin89 linked an issue Mar 30, 2025 that may be closed by this pull request
5 tasks
Copy link
Contributor

@tomatolog tomatolog left a comment

Choose a reason for hiding this comment

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

looks good as ticket stated

@PavelShilin89 PavelShilin89 merged commit 666231d into master Mar 31, 2025
73 of 81 checks passed
@PavelShilin89 PavelShilin89 deleted the test/generation-of-document-auto-id-in-replication branch March 31, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

replication replaces auto-id generated document

3 participants