Hi,
I could not reproduce this. I advise you to initialize your counter using the incr method instead of the set method.
I would probably do this instead:
couchbaseClient.incr(“counterTest”, 0, 100);
couchbaseClient.incr(“counterTest”, 1);
Is there a reason why you want to use set?
Also can you tell me which version of Couchbase and what kind of bucket you are using?
Cheers,
Laurent