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

Add support for backup count in Vector Collection configuration [AI-145] #702

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

k-jamroz
Copy link
Contributor

@k-jamroz k-jamroz commented Oct 1, 2024

Backup count configuration for vector collection was added in hazelcast/hazelcast-client-protocol#533

New parameters need #699 but the tests work with both 5.5 (skipped) and 6.0.

@@ -169,6 +169,38 @@ def test_size(self):
self.vector_collection.clear()
self.assertEqual(self.vector_collection.size(), 0)

def test_backupCount_valid_values_pass(self):
Copy link
Member

Choose a reason for hiding this comment

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

does this work with the 5.5 server? I didnt get why we skip tests below but not this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, 5.5 server ignores backup counts in client message so it does not validate them

Copy link
Member

@srknzl srknzl left a comment

Choose a reason for hiding this comment

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

I'm not familiar with vector collection stuff, so I cant approve for actual logic for this PR imo. so pls wait for Yuce approval

@k-jamroz k-jamroz merged commit b43aad1 into hazelcast:master Oct 7, 2024
9 checks passed
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