pass the error back to the clients. They can decide what to do with it.
Unlock errors
If delete fails during unlock stop the refresh lock routine, this will automatically unlock it.
CAS/CAD
If we get error during CAS/CAD, after running the fatalCB return error.
This will allow clients to continue incase they can handle the errors.
On compaction of etcd version, watch returns exact errors.
Allows clients to decide what to do with the error.
If they need the updates from versions which are compacted they would know that those version changes are compacted and won't be returned.
Breaking up PR #89 into two parts.
This PR deals with unlock/CAS/CAD failures.
fatalCB api change
pass the error back to the clients. They can decide what to do with it.
Unlock errors If delete fails during unlock stop the refresh lock routine, this will automatically unlock it.
CAS/CAD If we get error during CAS/CAD, after running the fatalCB return error. This will allow clients to continue incase they can handle the errors.
On compaction of etcd version, watch returns exact errors. Allows clients to decide what to do with the error. If they need the updates from versions which are compacted they would know that those version changes are compacted and won't be returned.