php - Re-adding documents to Couchbase Server 2.0.1 fails -


i experienced weird behaviour on couchbase cluster running version 2.0.1 community edition (build-170-rel). through php-lib execute following code:

$json = json_encode(array('hello' => 'world')); $cb->add('test123',$json); $cb->delete('test123'); $cb->add('test123',$json); 

the document should on server, querying not return result, neither via php nor via web console. surprisingly, key appear under "top keys" section time time.

but when use set command instead of add, documents exists after executing above code.

do have ideas on going on? me seems keys not freed on document deletion.

is there chance rid of "orphaned" keys, showing under "top keys"? lot investigation.

cheers, chris

i have tested on environment without issue (the document stored , accessible in console , code)

can print value/code returned each operation executing?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -