Skip to content

Conversation

@adamdickmeiss
Copy link
Contributor

@adamdickmeiss adamdickmeiss commented Jan 22, 2026

For the given match key config of course.

https://index-data.atlassian.net/browse/RSRVR-27

For the given match key config of course.
@jakub-id jakub-id requested review from Copilot and removed request for jakub-id January 22, 2026 15:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request implements RSRVR-27, which adds support for removing records from clusters when their match key becomes empty. Previously, records with empty match keys would remain in clusters; now they are properly removed.

Changes:

  • Added logic to detect and handle empty match keys by removing affected records from clusters
  • Added new test testClustersNoKey to verify the new behavior across three phases
  • Updated existing test expectations to reflect that records with empty match keys are no longer included in cluster results

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
server/src/main/java/com/indexdata/reservoir/server/Storage.java Refactored empty key handling from updateClusterValues to updateClusterForRecord, added new removeClusterRecord method to remove records with empty keys from clusters
server/src/test/java/com/indexdata/reservoir/server/MainVerticleTest.java Added comprehensive test for empty key removal behavior and updated expectations in existing tests to reflect that empty-key records are no longer clustered

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

adamdickmeiss and others added 2 commits January 23, 2026 09:21
…leTest.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@adamdickmeiss adamdickmeiss merged commit 03b8b60 into master Feb 3, 2026
3 checks passed
@adamdickmeiss adamdickmeiss deleted the RSRVR-27-empty-match-key-list-removes-record-from-cluster branch February 3, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants