shafreeck / cetcd

Cetcd is a C client library for etcd with full features support
Apache License 2.0
69 stars 39 forks source link

CAS support and other useful things #19

Closed vtolstov closed 8 years ago

vtolstov commented 8 years ago

Do you plan add support for CAS and ability to specify prev values for keys/ttl and other stuff?

shafreeck commented 8 years ago

@vtolstov All the etcd apis including CAS have been supported. Sorry for the missing documents

vtolstov commented 8 years ago

How can I set key with new value providing prev id? 20 нояб. 2015 г. 8:41 пользователь "Shafreeck Sea" notifications@github.com написал:

All the etcd api including CAS is supported

— Reply to this email directly or view it on GitHub https://github.com/shafreeck/cetcd/issues/19#issuecomment-158284532.

shafreeck commented 8 years ago

@vtolstov Check about the master branch. There is an api called cetcd_cmp_and_swap_by_index . May be this is what you want ?

vtolstov commented 8 years ago

Thanks ! That what i need. May be write comments to code for autogenerating docs?

shafreeck commented 8 years ago

@vtolstov Good suggestion ! Thanks, I will do it.