Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

KVClient: PutOptions.getCas should be long, not int #107

Closed
art4noir opened this issue Mar 15, 2016 · 0 comments
Closed

KVClient: PutOptions.getCas should be long, not int #107

art4noir opened this issue Mar 15, 2016 · 0 comments

Comments

@art4noir
Copy link
Contributor

Consul declares modifyIndex as uint64, and client uses long for it.
Cas parameter accepts as value current value of modifyIndex.
But PutOptions.getCas is declared as int, so a conversion with data lost required.
It seems like a bug in the client lib.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant