You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering also if it would be possible to make the call to the resolver only when there are at least 2 values, as it seems that often -when there are no siblings- the call might not be necessary.
The text was updated successfully, but these errors were encountered:
Basho-JIRA
changed the title
Conflict resolver not being passed to Fetch/Store-ValueCommand
Conflict resolver not being passed to Fetch/Store-ValueCommand [JIRA: CLIENTS-565]
Sep 4, 2015
Thanks for finding that, I'll get it resolved soon.
I checked the Node.js client and Java client, and the resolver, if present, is always called, no matter the result count. I'll leave the behavior the same in the Go client to remain consistent.
Conflict resolver is not being passed from the builder to the command, so it's never being called.
riak-go-client/kv_commands.go
Line 240 in 437fcfc
Should be:
riak-go-client/kv_commands.go
Line 510 in 437fcfc
Should be:
I was wondering also if it would be possible to make the call to the resolver only when there are at least 2 values, as it seems that often -when there are no siblings- the call might not be necessary.
riak-go-client/kv_commands.go
Lines 76 to 78 in 437fcfc
riak-go-client/kv_commands.go
Lines 311 to 313 in 437fcfc
The text was updated successfully, but these errors were encountered: