I have a test cluster using 5 desktop machines running 2.2 enterprise, I have the replication factor set to 1 for the default bucket.
I can do normal stores and everything appears fine, but when I try to set the durability of ExecuteStore to ReplicateTo.One, I get a timeout error after 60 seconds
This is the call I’m making:
var result = _client.ExecuteStore(StoreMode.Set, key, data, PersistTo.Zero, ReplicateTo.One)
And the log results that show the observe not finding the key in the replica
18:56:00.573 Acquiring stream from pool. 10.151.4.129:11210
18:56:00.573 Socket 03a42f7d-0802-4915-8cad-e3f3bb3e1457 was reset
18:56:00.573 Socket was reset. 03a42f7d-0802-4915-8cad-e3f3bb3e1457
18:56:00.573 Releasing socket 03a42f7d-0802-4915-8cad-e3f3bb3e1457
18:56:00.573 Are we alive? True
18:56:00.573 Node: 10.151.4.129:11210, Result: FoundPersisted, Master: True, Cas: 3973923562848, Key: 2013-01-01_f88e8ac2a42e4d91a5da000b429f5ca2
18:56:00.573 Acquiring stream from pool. 10.151.4.116:11210
18:56:00.573 Socket 540b785d-e334-46e4-a362-e9aea56e84fa was reset
18:56:00.573 Socket was reset. 540b785d-e334-46e4-a362-e9aea56e84fa
18:56:00.573 Releasing socket 540b785d-e334-46e4-a362-e9aea56e84fa
18:56:00.573 Are we alive? True
18:56:00.573 Node: 10.151.4.116:11210, Result: NotFound, Master: False, Cas: 0, Key: 2013-01-01_f88e8ac2a42e4d91a5da000b429f5ca2
18:56:00.573 Master Persisted: True, Replica Found: 0, Replica Persisted: 0
18:56:00.573 Expected Replication: False, Expected Persistence: True, Expected Master Persistence: True
18:56:01.073 Acquiring stream from pool. 10.151.4.129:11210
18:56:01.073 Socket 03a42f7d-0802-4915-8cad-e3f3bb3e1457 was reset
18:56:01.073 Socket was reset. 03a42f7d-0802-4915-8cad-e3f3bb3e1457
18:56:01.073 Releasing socket 03a42f7d-0802-4915-8cad-e3f3bb3e1457
18:56:01.073 Are we alive? True
18:56:01.073 Node: 10.151.4.129:11210, Result: FoundPersisted, Master: True, Cas: 3973923562848, Key: 2013-01-01_f88e8ac2a42e4d91a5da000b429f5ca2
18:56:01.073 Acquiring stream from pool. 10.151.4.116:11210
18:56:01.073 Socket 540b785d-e334-46e4-a362-e9aea56e84fa was reset
18:56:01.073 Socket was reset. 540b785d-e334-46e4-a362-e9aea56e84fa
18:56:01.073 Releasing socket 540b785d-e334-46e4-a362-e9aea56e84fa
18:56:01.073 Are we alive? True
18:56:01.073 Node: 10.151.4.116:11210, Result: NotFound, Master: False, Cas: 0, Key: 2013-01-01_f88e8ac2a42e4d91a5da000b429f5ca2
18:56:01.073 Master Persisted: True, Replica Found: 0, Replica Persisted: 0
18:56:01.073 Expected Replication: False, Expected Persistence: True, Expected Master Persistence: True
I’m not sure what I can look into to find out why the replication is not working as expected, are there any special configuration options or settings required?