Skip to content

Instantly share code, notes, and snippets.

@nilakanta
Created January 18, 2011 10:48
Show Gist options
  • Save nilakanta/784284 to your computer and use it in GitHub Desktop.
Save nilakanta/784284 to your computer and use it in GitHub Desktop.
Add/Remove a node and then try accessing a doc
-- Example from http://blog.couchone.com/post/446015664/whats-new-in-apache-couchdb-0-11-part-two-views
>> curl -X GET http://localhost:5984/testdb/Claire
>>
{"error":"timeout","reason":"{[{shard,<<\"shards/80000000-9fffffff/testdb.1295344320\">>,\n 'bigcouch@bigcouch3-ip',<<\"testdb\">>,\n [2147483648,2684354559],\n #Ref<0.0.2.126921>},\n {shard,<<\"shards/80000000-9fffffff/testdb.1295344320\">>,\n 'bigcouch@bigcouch2-ip',<<\"testdb\">>,\n [2147483648,2684354559],\n #Ref<0.0.2.126922>}],\n 2,\n [{{<<\"Claire\">>,\n {1,[<<121,63,75,187,191,227,242,249,21,77,110,83,242,96,192,38>>]}},\n {{ok,{doc,<<\"Claire\">>,\n {1,\n [<<121,63,75,187,191,227,242,249,21,77,110,83,242,96,192,38>>]},\n {[{<<\"title\">>,<<\"VP of Official Attitude\">>}]},\n [],false,[]}},\n 1}}]}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment