2.0 DP3 IBucket Replace / Wrong datatype for Cas value


#1

Hi,

IBucket defines

IOperationResult<T> Replace<T>(string key, T value, uint cas, uint expiration);

but cas should be of type ulong

btw: It would be nice to have methods with TimeSpan instead of uint for the expiration. This would be more .NETish :wink:

Marcus


#2

coboluxx -

Bug ticket for CAS: http://www.couchbase.com/issues/browse/NCBC-716

Improvement ticket for adding Timespan overloads: http://www.couchbase.com/issues/browse/NCBC-717

Thanks!

Jeff