Skip to content

Instantly share code, notes, and snippets.

@alappe
Created July 15, 2012 10:56
Show Gist options
  • Save alappe/3116255 to your computer and use it in GitHub Desktop.
Save alappe/3116255 to your computer and use it in GitHub Desktop.
View that breaks my couch
{
"_id": "_design/test",
"_rev": "1-2c64d4a2d7bfa0393f212cf929ae7abe",
"language": "coffeescript",
"views": {
"test": {
"map": "(doc) -> (emit doc.value, doc) if doc.type is 'test'"
}
}
}
@alappe
Copy link
Author

alappe commented Jul 15, 2012

Documents are simple test documents such as:

{
"_id": "11d8d389f735dba5e46fd000c80000d9",
"_rev": "2-56938810a72b2afc617a9cbfa9fdaed4",
"type": "test",
"value": 123
}

and

{
"_id": "11d8d389f735dba5e46fd000c8000e0f",
"_rev": "1-01a9a4f36cfcd632ccf23a33442c2c40",
"type": "test",
"value": 1234
}

@alappe
Copy link
Author

alappe commented Jul 15, 2012

[Sun, 15 Jul 2012 11:23:17 GMT] [debug] [<0.193.0>] Spawning new group server for view group _design/test in database test.
[Sun, 15 Jul 2012 11:23:17 GMT] [debug] [<0.194.0>] Could not open file /usr/local/var/lib/couchdb/.test_design/b9e096cf19134272b3711f758c8e6772.view: no such file or directory
[Sun, 15 Jul 2012 11:23:17 GMT] [debug] [<0.194.0>] Resetting group index "_design/test" in db test
[Sun, 15 Jul 2012 11:23:17 GMT] [debug] [<0.125.0>] request_group {Pid, Seq} {<0.194.0>,11}
[Sun, 15 Jul 2012 11:23:17 GMT] [debug] [<0.204.0>] OS Process Start :: #Port<0.2813>
[Sun, 15 Jul 2012 11:23:17 GMT] [debug] [<0.204.0>] OS Process #Port<0.2813> Input :: ["reset",{"reduce_limit":true,"timeout":5000}]
[Sun, 15 Jul 2012 11:23:18 GMT] [error] [<0.202.0>] OS Process Error <0.204.0> :: {os_process_error,
{exit_status,133}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment