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

Not My Vbucket with 2 nodes and 1 replica #47

Open
daschl opened this issue Jan 23, 2019 · 0 comments
Open

Not My Vbucket with 2 nodes and 1 replica #47

daschl opened this issue Jan 23, 2019 · 0 comments

Comments

@daschl
Copy link
Contributor

daschl commented Jan 23, 2019

While implementing replica get and testing with the mock, I noticed an issue which comes up depending on the key. When configured with 2 nodes and 1 replica, I get NMVs for the active node both for upsert and get. See this simple example:

String id = "4c03805d-adc9-47a7-9014-bd94c693a2bb";
collection.upsert(id, "Hello, World!");
Thread.sleep(1000);
collection.get(id);

I am not sure what is causing this, but my code seems to work against a real cluster. Maybe it has something to do with how the mock handles its config/topo?

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

No branches or pull requests

1 participant