Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0-beta
-
Fix Version/s: 2.0-beta
-
Component/s: ns_server, view-engine
-
Security Level: Public
-
Labels:
-
Environment:centos 6.2 64bit 10GB RAM, 140GB disk space
Description
nstall couchbase server 2.0.0c-700 on 3 node
Create a cluster and 6GB default bucket with replica index enable.
Load 10 million items to bucket.
Create 11 docs and views in dev and publish
Let the view indexing. Publish all 11 views
For dev_view4, query this view will get result but for production view4, I always get the following error:
Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.25':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
Subset of nodes failed with the following error:
[
{
"from": "http://10.3.121.24:8092/_view_merge/?limit=10",
"reason": "{<<\"unknown_error\">>,<<\"view_undefined\">>}"
},
{
"from": "local",
"reason": "Undefined set view `default` for `_design/view4` design document."
},
{
"from": "http://10.3.121.23:8092/_view_merge/?limit=10",
"reason": "{<<\"unknown_error\">>,<<\"view_undefined\">>}"
}
]
Create a cluster and 6GB default bucket with replica index enable.
Load 10 million items to bucket.
Create 11 docs and views in dev and publish
Let the view indexing. Publish all 11 views
For dev_view4, query this view will get result but for production view4, I always get the following error:
Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.25':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
Subset of nodes failed with the following error:
[
{
"from": "http://10.3.121.24:8092/_view_merge/?limit=10",
"reason": "{<<\"unknown_error\">>,<<\"view_undefined\">>}"
},
{
"from": "local",
"reason": "Undefined set view `default` for `_design/view4` design document."
},
{
"from": "http://10.3.121.23:8092/_view_merge/?limit=10",
"reason": "{<<\"unknown_error\">>,<<\"view_undefined\">>}"
}
]
-
- 10.3.121.23-8091-diag.txt.gz
- 17/Aug/12 6:46 PM
- 3.87 MB
- Thuan Nguyen
-
- 10.3.121.24-8091-diag.txt.gz
- 17/Aug/12 6:46 PM
- 4.10 MB
- Thuan Nguyen
-
- 10.3.121.25-8091-diag.txt.gz
- 17/Aug/12 6:46 PM
- 4.28 MB
- Thuan Nguyen
-
- Screen Shot 2012-08-17 at 1.04.09 PM.png
- 55 kB
- 17/Aug/12 6:46 PM
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Hide
Permalink
Farshid Ghods
added a comment -
Deep please look into the diags before assigning to Filipe.
Show
Farshid Ghods
added a comment - Deep please look into the diags before assigning to Filipe.
Hide
Filipe Manana
added a comment -
View undefined error means the index was not configured. Index configuration is done by ns_server.
I see the following error below repeated several times for several views:
2012-08-17 12:14:07.821 menelaus_web:102:warning:client-side error report(ns_1@10.3.121.23) - Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.23':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
Browser client XHR failure encountered. (age: 25068) Diagnostic info:
s: {"url":"/couchBase/default/_design/view1","isLocal":false,"global":true,"type":"PUT","contentType":"application/json","processData":true,"async":true,"accepts":{"xml":"application/xml, text/xml","
xhrStatus: error,
xhrReadyState: 0,
errMsg: ,
statusCode: 0,
responseText:
2012-08-17 12:26:34.666 menelaus_web:102:warning:client-side error report(ns_1@10.3.121.25) - Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.25':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
Got unhandled error: TypeError: prevSamples[keyName] is undefined
At: http://10.3.121.25:8091/js/analytics.js:186
Backtrace:
Function: collectBacktraceViaCaller
Args:
Please try doing this outside the UI, via curl.
Always remember trying things out through the REST api before assuming it's a view engine issue (and the other way around of course).
I see the following error below repeated several times for several views:
2012-08-17 12:14:07.821 menelaus_web:102:warning:client-side error report(ns_1@10.3.121.23) - Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.23':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
Browser client XHR failure encountered. (age: 25068) Diagnostic info:
s: {"url":"/couchBase/default/_design/view1","isLocal":false,"global":true,"type":"PUT","contentType":"application/json","processData":true,"async":true,"accepts":{"xml":"application/xml, text/xml","
xhrStatus: error,
xhrReadyState: 0,
errMsg: ,
statusCode: 0,
responseText:
2012-08-17 12:26:34.666 menelaus_web:102:warning:client-side error report(ns_1@10.3.121.25) - Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.25':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
Got unhandled error: TypeError: prevSamples[keyName] is undefined
At: http://10.3.121.25:8091/js/analytics.js:186
Backtrace:
Function: collectBacktraceViaCaller
Args:
Please try doing this outside the UI, via curl.
Always remember trying things out through the REST api before assuming it's a view engine issue (and the other way around of course).
Show
Filipe Manana
added a comment - View undefined error means the index was not configured. Index configuration is done by ns_server.
I see the following error below repeated several times for several views:
2012-08-17 12:14:07.821 menelaus_web:102:warning:client-side error report( ns_1@10.3.121.23 ) - Client-side error-report for user "Administrator" on node ' ns_1@10.3.121.23 ':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
Browser client XHR failure encountered. (age: 25068) Diagnostic info:
s: {"url":"/couchBase/default/_design/view1","isLocal":false,"global":true,"type":"PUT","contentType":"application/json","processData":true,"async":true,"accepts":{"xml":"application/xml, text/xml","
xhrStatus: error,
xhrReadyState: 0,
errMsg: ,
statusCode: 0,
responseText:
2012-08-17 12:26:34.666 menelaus_web:102:warning:client-side error report( ns_1@10.3.121.25 ) - Client-side error-report for user "Administrator" on node ' ns_1@10.3.121.25 ':
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.0.1
Got unhandled error: TypeError: prevSamples[keyName] is undefined
At: http://10.3.121.25:8091/js/analytics.js:186
Backtrace:
Function: collectBacktraceViaCaller
Args:
Please try doing this outside the UI, via curl.
Always remember trying things out through the REST api before assuming it's a view engine issue (and the other way around of course).
Show
Filipe Manana
added a comment - Seems related to: MB-6283 (same sort of error)
Hide
Iryna Mironava
added a comment -
Tried it via curl, it gives data partially and also an error, each of nodes is saying that another 2 don't have this view
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.23:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":9255930}
],
"errors":[
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":"http://10.3.121.25:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"http://10.3.121.24:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.24:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":9255930}
],
"errors":[
{"from":"http://10.3.121.25:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":"http://10.3.121.23:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.25:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":9255930}
],
"errors":[
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":"http://10.3.121.23:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"http://10.3.121.24:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
each of nodes has ddoc and view in it:
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.25:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.24:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.23:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu:~/couchbase/testrunner$
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.23:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":9255930}
],
"errors":[
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":"http://10.3.121.25:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"http://10.3.121.24:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.24:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":9255930}
],
"errors":[
{"from":"http://10.3.121.25:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":"http://10.3.121.23:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.25:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":"http://10.3.121.26:8092/_view_merge/","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":"http://10.3.121.26:8092/_view_merge/","value":9255930}
],
"errors":[
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":"http://10.3.121.23:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"http://10.3.121.24:8092/_view_merge/?limit=10&debug=true","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
each of nodes has ddoc and view in it:
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.25:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.24:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu:~/couchbase/testrunner$ curl -X GET 'http://10.3.121.23:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu:~/couchbase/testrunner$
Show
Iryna Mironava
added a comment - Tried it via curl, it gives data partially and also an error, each of nodes is saying that another 2 don't have this view
iryna@ubuntu :~/couchbase/testrunner$ curl -X GET ' http://10.3.121.23:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":9255930}
],
"errors":[
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":" http://10.3.121.25:8092/_view_merge/?limit=10&debug=true ","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":" http://10.3.121.24:8092/_view_merge/?limit=10&debug=true ","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
iryna@ubuntu :~/couchbase/testrunner$ curl -X GET ' http://10.3.121.24:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":9255930}
],
"errors":[
{"from":" http://10.3.121.25:8092/_view_merge/?limit=10&debug=true ","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":" http://10.3.121.23:8092/_view_merge/?limit=10&debug=true ","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
iryna@ubuntu :~/couchbase/testrunner$ curl -X GET ' http://10.3.121.25:8092/default/_design/view4/_view/view4?connection_timeout=60000&limit=10&skip=0&debug=true'
{"total_rows":18842,"rows":[
{"id":"0-00004798b631f131","key":"0-00004798b631f131","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":7671898},
{"id":"0-0004a348d101c82f","key":"0-0004a348d101c82f","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":9728766},
{"id":"0-000dd5152119e89f","key":"0-000dd5152119e89f","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":7320571},
{"id":"0-000e69a97bce016d","key":"0-000e69a97bce016d","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":8831455},
{"id":"0-0014c5d6c537debf","key":"0-0014c5d6c537debf","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":742209},
{"id":"0-0014cb06991f127c","key":"0-0014cb06991f127c","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":481456},
{"id":"0-001dbf10548b9236","key":"0-001dbf10548b9236","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":5392819},
{"id":"0-0020f731697b2f99","key":"0-0020f731697b2f99","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":4066221},
{"id":"0-00297bb401306443","key":"0-00297bb401306443","partition":768,"node":" http://10.3.121.26:8092/_view_merge/ ","value":1074543},
{"id":"0-002bacc5b75b50d7","key":"0-002bacc5b75b50d7","partition":769,"node":" http://10.3.121.26:8092/_view_merge/ ","value":9255930}
],
"errors":[
{"from":"local","reason":"Undefined set view `default` for `_design/view4` design document."},
{"from":" http://10.3.121.23:8092/_view_merge/?limit=10&debug=true ","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"},
{"from":" http://10.3.121.24:8092/_view_merge/?limit=10&debug=true ","reason":"{<<\"unknown_error\">>,<<\"view_undefined\">>}"}
]
}
each of nodes has ddoc and view in it:
iryna@ubuntu :~/couchbase/testrunner$ curl -X GET ' http://10.3.121.25:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu :~/couchbase/testrunner$ curl -X GET ' http://10.3.121.24:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu :~/couchbase/testrunner$ curl -X GET ' http://10.3.121.23:8092/default/_design/view4'
{"views":{"view4":{"map":"function(doc){\nemit(doc.key,doc.key_num);\n}"}}}
iryna@ubuntu :~/couchbase/testrunner$
Hide
Thuan Nguyen
added a comment -
collect info file is in this link
https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_0/node23.zip
https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_0/node23.zip
Show
Thuan Nguyen
added a comment - collect info file is in this link
https://s3.amazonaws.com/packages.couchbase/collect_info/2_0_0/node23.zip
Hide
Filipe Manana
added a comment -
While not completely sure, I think I merged today to master something that can be related:
http://review.couchbase.org/#change,19775
The build you're testing doesn't include this commit, right?
Any chance to test a build with such commit?
http://review.couchbase.org/#change,19775
The build you're testing doesn't include this commit, right?
Any chance to test a build with such commit?
Show
Filipe Manana
added a comment - While not completely sure, I think I merged today to master something that can be related:
http://review.couchbase.org/#change,19775
The build you're testing doesn't include this commit, right?
Any chance to test a build with such commit?
Hide
Farshid Ghods
added a comment -
no the build we tested does not have that fix.
we can test a build from that branch but that has to wait till monday :( so if you think that would help and its definitely low risk i can bump up the manifest to that commit. please confirm
CBD-422 Write header when initial index build finishes …
d30ec5b78a Browse code
fdmanana authored 15 hours ago
fdmanana committed 14 hours ago
Aug 16, 2012
CBD-511 Get all ddoc aliases on view group restart …
1a648000f6 Browse code
fdmanana authored 2 days ago
fdmanana committed 2 days ago
we can test a build from that branch but that has to wait till monday :( so if you think that would help and its definitely low risk i can bump up the manifest to that commit. please confirm
CBD-422 Write header when initial index build finishes …
d30ec5b78a Browse code
fdmanana authored 15 hours ago
fdmanana committed 14 hours ago
Aug 16, 2012
CBD-511 Get all ddoc aliases on view group restart …
1a648000f6 Browse code
fdmanana authored 2 days ago
fdmanana committed 2 days ago
Show
Farshid Ghods
added a comment - no the build we tested does not have that fix.
we can test a build from that branch but that has to wait till monday :( so if you think that would help and its definitely low risk i can bump up the manifest to that commit. please confirm
CBD-422 Write header when initial index build finishes …
d30ec5b78a Browse code
fdmanana authored 15 hours ago
fdmanana committed 14 hours ago
Aug 16, 2012
CBD-511 Get all ddoc aliases on view group restart …
1a648000f6 Browse code
fdmanana authored 2 days ago
fdmanana committed 2 days ago
Hide
Filipe Manana
added a comment -
Yes, I think it's very low risk.
And while there (and sorry to push so forward), http://review.couchbase.org/#change,19822 would be nice as well (unrelated, but important as well) - if it's too much work on your side, then skip it :)
And while there (and sorry to push so forward), http://review.couchbase.org/#change,19822 would be nice as well (unrelated, but important as well) - if it's too much work on your side, then skip it :)
Show
Filipe Manana
added a comment - Yes, I think it's very low risk.
And while there (and sorry to push so forward), http://review.couchbase.org/#change,19822 would be nice as well (unrelated, but important as well) - if it's too much work on your side, then skip it :)
Hide
Farshid Ghods
added a comment -
also do these changes have any dependency to the ns-server changes pushed after this commit ?
https://github.com/couchbase/ns_server/commits/d2528649925f24da25385e856e3a02aa1c5e1501
or whatever branch-20c manifest shows ?
https://github.com/couchbase/ns_server/commits/d2528649925f24da25385e856e3a02aa1c5e1501
or whatever branch-20c manifest shows ?
Show
Farshid Ghods
added a comment - also do these changes have any dependency to the ns-server changes pushed after this commit ?
https://github.com/couchbase/ns_server/commits/d2528649925f24da25385e856e3a02aa1c5e1501
or whatever branch-20c manifest shows ?
Show
Filipe Manana
added a comment - Nop, completely unrelated to ns_server.
Hide
Farshid Ghods
added a comment -
regarding this one :
http://review.couchbase.org/#change,19822
since 2.0c use case is not about changing ddoc definition or anything else in the cluster during rebalance i prefer to not have it there.
i will update the branch-20c manifest to include the other two commits
thanks.
http://review.couchbase.org/#change,19822
since 2.0c use case is not about changing ddoc definition or anything else in the cluster during rebalance i prefer to not have it there.
i will update the branch-20c manifest to include the other two commits
thanks.
Show
Farshid Ghods
added a comment - regarding this one :
http://review.couchbase.org/#change,19822
since 2.0c use case is not about changing ddoc definition or anything else in the cluster during rebalance i prefer to not have it there.
i will update the branch-20c manifest to include the other two commits
thanks.
Hide
Farshid Ghods
added a comment -
Show
Farshid Ghods
added a comment - so let's treat this issue as a c-blocker ( dupe of MB-6291 and MB-6262 )
Hide
Farshid Ghods
added a comment -
Aliaksey,
as mentioned by Filipe inMB-6297 they all seem to be dupes.
should this be assigned to you ?
does this happen when we create too many ddocs and views back to back using a script or the root cause is sth else ?
as mentioned by Filipe in
should this be assigned to you ?
does this happen when we create too many ddocs and views back to back using a script or the root cause is sth else ?
Show
Farshid Ghods
added a comment - Aliaksey,
as mentioned by Filipe in MB-6297 they all seem to be dupes.
should this be assigned to you ?
does this happen when we create too many ddocs and views back to back using a script or the root cause is sth else ?
Hide
Aleksey Kondratenko
added a comment -
Why do you think it should be assigned to me?
Anyway here's some analysis in case Filipe did not see that yet. Here's first exception:
[views:info,2012-08-17T12:26:27.583,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':capi_set_view_manager:apply_index_states:324]
couch_set_view:mark_partitions_indexable([<<"default">>,<<"_design/view4">>,
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
15,16,17,18,19,20,21,22,23,24,25,
26,27,28,29,30,31,32,33,34,35,36,
37,38,39,40,41,42,43,44,45,46,47,
48,49,50,51,52,53,54,55,56,57,58,
59,60,61,62,63,64,65,66,67,68,69,
70,71,72,73,74,75,76,77,78,79,80,
81,82,83,84,85,86,87,88,89,90,91,
92,93,94,95,96,97,98,99,100,101,
102,103,104,105,106,107,108,109,
110,111,112,113,114,115,116,117,
118,119,120,121,122,123,124,125,
126,127,128,129,130,131,132,133,
134,135,136,137,138,139,140,141,
142,143,144,145,146,147,148,149,
150,151,152,153,154,155,156,157,
158,159,160,161,162,163,164,165,
166,167,168,169,170,171,172,173,
174,175,176,177,178,179,180,181,
182,183,184,185,186,187,188,189,
190,191,192,193,194,195,196,197,
198,199,200,201,202,203,204,205,
206,207,208,209,210,211,212,213,
214,215,216,217,218,219,220,221,
222,223,224,225,226,227,228,229,
230,231,232,233,234,235,236,237,
238,239,240,241,242,243,244,245,
246,247,248,249,250,251,252,253,
254,255,256,257,258,259,260,261,
262,263,264,265,266,267,268,269,
270,271,272,273,274,275,276,277,
278,279,280,281,282,283,284,285,
286,287,288,289,290,291,292,293,
294,295,296,297,298,299,300,301,
302,303,304,305,306,307,308,309,
310,311,312,313,314,315,316,317,
318,319,320,321,322,323,324,325,
326,327,328,329,330,331,332,333,
334,335,336,337,338,339,340,341,
342,343,344,345,346,347,348,349,
350,351,352,353,354,355,356,357,
358,359,360,361,362,363,364,365,
366,367,368,369,370,371,372,373,
374,375,376,377,378,379,380,381,
382,383,384,385,386,387,388,389,
390,391,392,393,394,395,396,397,
398,399,400,401,402,403,404,405,
406,407,408,409,410,411,412,413,
414,415,416,417,418,419,420,421,
422,423,424,425,426,427,428,429,
430,431,432,433,434,435,436,437,
438,439,440,441,442,443,444,445,
446,447,448,449,450,451,452,453,
454,455,456,457,458,459,460,461,
462,463,464,465,466,467,468,469,
470,471,472,473,474,475,476,477,
478,479,480,481,482,483,484,485,
486,487,488,489,490,491,492,493,
494,495,496,497,498,499,500,501,
502,503,504,505,506,507,508,509,
510,511,512,513,514,515,516,517,
518,519,520,521,522,523,524,525,
526,527,528,529,530,531,532,533,
534,535,536,537,538,539,540,541,
542,543,544,545,546,547,548,549,
550,551,552,553,554,555,556,557,
558,559,560,561,562,563,564,565,
566,567,568,569,570,571,572,573,
574,575,576,577,578,579,580,581,
582,583,584,585,586,587,588,589,
590,591,592,593,594,595,596,597,
598,599,600,601,602,603,604,605,
606,607,608,609,610,611,612,613,
614,615,616,617,618,619,620,621,
622,623,624,625,626,627,628,629,
630,631,632,633,634,635,636,637,
638,639,640,641,642,643,644,645,
646,647,648,649,650,651,652,653,
654,655,656,657,658,659,660,661,
662,663,664,665,666,667,668,669,
670,671,672,673,674,675,676,677,
678,679,680,681,682,683,684,685,
686,687,688,689,690,691,692,693,
694,695,696,697,698,699,700,701,
702,703,704,705,706,707,708,709,
710,711,712,713,714,715,716,717,
718,719,720,721,722,723,724,725,
726,727,728,729,730,731,732,733,
734,735,736,737,738,739,740,741,
742,743,744,745,746,747,748,749,
750,751,752,753,754,755,756,757,
758,759,760,761,762,763,764,765,
766,767,768,769,770,771,772,773,
774,775,776,777,778,779,780,781,
782,783,784,785,786,787,788,789,
790,791,792,793,794,795,796,797,
798,799,800,801,802,803,804,805,
806,807,808,809,810,811,812,813,
814,815,816,817,818,819,820,821,
822,823,824,825,826,827,828,829,
830,831,832,833,834,835,836,837,
838,839,840,841,842,843,844,845,
846,847,848,849,850,851,852,853,
854,855,856,857,858,859,860,861,
862,863,864,865,866,867,868,869,
870,871,872,873,874,875,876,877,
878,879,880,881,882,883,884,885,
886,887,888,889,890,891,892,893,
894,895,896,897,898,899,900,901,
902,903,904,905,906,907,908,909,
910,911,912,913,914,915,916,917,
918,919,920,921,922,923,924,925,
926,927,928,929,930,931,932,933,
934,935,936,937,938,939,940,941,
942,943,944,945,946,947,948,949,
950,951,952,953,954,955,956,957,
958,959,960,961,962,963,964,965,
966,967,968,969,970,971,972,973,
974,975,976,977,978,979,980,981,
982,983,984,985,986,987,988,989,
990,991,992,993,994,995,996,997,
998,999,1000,1001,1002,1003,1004,
1005,1006,1007,1008,1009,1010,1011,
1012,1013,1014,1015,1016,1017,1018,
1019,1020,1021,1022,1023]]) raised throw:{error,
view_undefined}
and last set views message for that index before that was:
[couchdb:info,2012-08-17T12:26:21.533,ns_1@10.3.121.25:<0.22451.2>:couch_log:info:39]Started undefined main set view group `default`, group `_design/view4`, signature `9f58a2af60c3346d7151df1fda3bfaf0', view count: 1
before that we successfully completed call
[views:info,2012-08-17T12:25:56.008,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':capi_set_view_manager:apply_index_states:347]
couch_set_view:mark_partitions_unindexable([<<"default">>,<<"_design/view4">>,
[]]) returned ok in 37ms
Problems seemingly happen shortly after dev_view4 gets different map function.
[ns_server:debug,2012-08-17T12:26:09.189,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/dev_view4">>,
{2,<<75,19,227,82>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.country);\\n}\"}}}">>,
0,false,[]}
First one was:
[ns_server:debug,2012-08-17T11:46:57.494,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/dev_view4">>,
{1,<<153,105,151,2>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.key_num);\\n}\"}}}">>,
0,false,[]}
which is same as _design/view4:
[ns_server:debug,2012-08-17T11:48:21.076,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/view4">>,
{1,<<25,190,225,194>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.key_num);\\n}\"}}}">>,
0,false,[]}
Anyway here's some analysis in case Filipe did not see that yet. Here's first exception:
[views:info,2012-08-17T12:26:27.583,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':capi_set_view_manager:apply_index_states:324]
couch_set_view:mark_partitions_indexable([<<"default">>,<<"_design/view4">>,
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
15,16,17,18,19,20,21,22,23,24,25,
26,27,28,29,30,31,32,33,34,35,36,
37,38,39,40,41,42,43,44,45,46,47,
48,49,50,51,52,53,54,55,56,57,58,
59,60,61,62,63,64,65,66,67,68,69,
70,71,72,73,74,75,76,77,78,79,80,
81,82,83,84,85,86,87,88,89,90,91,
92,93,94,95,96,97,98,99,100,101,
102,103,104,105,106,107,108,109,
110,111,112,113,114,115,116,117,
118,119,120,121,122,123,124,125,
126,127,128,129,130,131,132,133,
134,135,136,137,138,139,140,141,
142,143,144,145,146,147,148,149,
150,151,152,153,154,155,156,157,
158,159,160,161,162,163,164,165,
166,167,168,169,170,171,172,173,
174,175,176,177,178,179,180,181,
182,183,184,185,186,187,188,189,
190,191,192,193,194,195,196,197,
198,199,200,201,202,203,204,205,
206,207,208,209,210,211,212,213,
214,215,216,217,218,219,220,221,
222,223,224,225,226,227,228,229,
230,231,232,233,234,235,236,237,
238,239,240,241,242,243,244,245,
246,247,248,249,250,251,252,253,
254,255,256,257,258,259,260,261,
262,263,264,265,266,267,268,269,
270,271,272,273,274,275,276,277,
278,279,280,281,282,283,284,285,
286,287,288,289,290,291,292,293,
294,295,296,297,298,299,300,301,
302,303,304,305,306,307,308,309,
310,311,312,313,314,315,316,317,
318,319,320,321,322,323,324,325,
326,327,328,329,330,331,332,333,
334,335,336,337,338,339,340,341,
342,343,344,345,346,347,348,349,
350,351,352,353,354,355,356,357,
358,359,360,361,362,363,364,365,
366,367,368,369,370,371,372,373,
374,375,376,377,378,379,380,381,
382,383,384,385,386,387,388,389,
390,391,392,393,394,395,396,397,
398,399,400,401,402,403,404,405,
406,407,408,409,410,411,412,413,
414,415,416,417,418,419,420,421,
422,423,424,425,426,427,428,429,
430,431,432,433,434,435,436,437,
438,439,440,441,442,443,444,445,
446,447,448,449,450,451,452,453,
454,455,456,457,458,459,460,461,
462,463,464,465,466,467,468,469,
470,471,472,473,474,475,476,477,
478,479,480,481,482,483,484,485,
486,487,488,489,490,491,492,493,
494,495,496,497,498,499,500,501,
502,503,504,505,506,507,508,509,
510,511,512,513,514,515,516,517,
518,519,520,521,522,523,524,525,
526,527,528,529,530,531,532,533,
534,535,536,537,538,539,540,541,
542,543,544,545,546,547,548,549,
550,551,552,553,554,555,556,557,
558,559,560,561,562,563,564,565,
566,567,568,569,570,571,572,573,
574,575,576,577,578,579,580,581,
582,583,584,585,586,587,588,589,
590,591,592,593,594,595,596,597,
598,599,600,601,602,603,604,605,
606,607,608,609,610,611,612,613,
614,615,616,617,618,619,620,621,
622,623,624,625,626,627,628,629,
630,631,632,633,634,635,636,637,
638,639,640,641,642,643,644,645,
646,647,648,649,650,651,652,653,
654,655,656,657,658,659,660,661,
662,663,664,665,666,667,668,669,
670,671,672,673,674,675,676,677,
678,679,680,681,682,683,684,685,
686,687,688,689,690,691,692,693,
694,695,696,697,698,699,700,701,
702,703,704,705,706,707,708,709,
710,711,712,713,714,715,716,717,
718,719,720,721,722,723,724,725,
726,727,728,729,730,731,732,733,
734,735,736,737,738,739,740,741,
742,743,744,745,746,747,748,749,
750,751,752,753,754,755,756,757,
758,759,760,761,762,763,764,765,
766,767,768,769,770,771,772,773,
774,775,776,777,778,779,780,781,
782,783,784,785,786,787,788,789,
790,791,792,793,794,795,796,797,
798,799,800,801,802,803,804,805,
806,807,808,809,810,811,812,813,
814,815,816,817,818,819,820,821,
822,823,824,825,826,827,828,829,
830,831,832,833,834,835,836,837,
838,839,840,841,842,843,844,845,
846,847,848,849,850,851,852,853,
854,855,856,857,858,859,860,861,
862,863,864,865,866,867,868,869,
870,871,872,873,874,875,876,877,
878,879,880,881,882,883,884,885,
886,887,888,889,890,891,892,893,
894,895,896,897,898,899,900,901,
902,903,904,905,906,907,908,909,
910,911,912,913,914,915,916,917,
918,919,920,921,922,923,924,925,
926,927,928,929,930,931,932,933,
934,935,936,937,938,939,940,941,
942,943,944,945,946,947,948,949,
950,951,952,953,954,955,956,957,
958,959,960,961,962,963,964,965,
966,967,968,969,970,971,972,973,
974,975,976,977,978,979,980,981,
982,983,984,985,986,987,988,989,
990,991,992,993,994,995,996,997,
998,999,1000,1001,1002,1003,1004,
1005,1006,1007,1008,1009,1010,1011,
1012,1013,1014,1015,1016,1017,1018,
1019,1020,1021,1022,1023]]) raised throw:{error,
view_undefined}
and last set views message for that index before that was:
[couchdb:info,2012-08-17T12:26:21.533,ns_1@10.3.121.25:<0.22451.2>:couch_log:info:39]Started undefined main set view group `default`, group `_design/view4`, signature `9f58a2af60c3346d7151df1fda3bfaf0', view count: 1
before that we successfully completed call
[views:info,2012-08-17T12:25:56.008,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':capi_set_view_manager:apply_index_states:347]
couch_set_view:mark_partitions_unindexable([<<"default">>,<<"_design/view4">>,
[]]) returned ok in 37ms
Problems seemingly happen shortly after dev_view4 gets different map function.
[ns_server:debug,2012-08-17T12:26:09.189,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/dev_view4">>,
{2,<<75,19,227,82>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.country);\\n}\"}}}">>,
0,false,[]}
First one was:
[ns_server:debug,2012-08-17T11:46:57.494,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/dev_view4">>,
{1,<<153,105,151,2>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.key_num);\\n}\"}}}">>,
0,false,[]}
which is same as _design/view4:
[ns_server:debug,2012-08-17T11:48:21.076,ns_1@10.3.121.25:'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/view4">>,
{1,<<25,190,225,194>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.key_num);\\n}\"}}}">>,
0,false,[]}
Show
Aleksey Kondratenko
added a comment - Why do you think it should be assigned to me?
Anyway here's some analysis in case Filipe did not see that yet. Here's first exception:
[views:info,2012-08-17T12:26:27.583, ns_1@10.3.121.25 :'capi_ddoc_replication_srv-default':capi_set_view_manager:apply_index_states:324]
couch_set_view:mark_partitions_indexable([<<"default">>,<<"_design/view4">>,
[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
15,16,17,18,19,20,21,22,23,24,25,
26,27,28,29,30,31,32,33,34,35,36,
37,38,39,40,41,42,43,44,45,46,47,
48,49,50,51,52,53,54,55,56,57,58,
59,60,61,62,63,64,65,66,67,68,69,
70,71,72,73,74,75,76,77,78,79,80,
81,82,83,84,85,86,87,88,89,90,91,
92,93,94,95,96,97,98,99,100,101,
102,103,104,105,106,107,108,109,
110,111,112,113,114,115,116,117,
118,119,120,121,122,123,124,125,
126,127,128,129,130,131,132,133,
134,135,136,137,138,139,140,141,
142,143,144,145,146,147,148,149,
150,151,152,153,154,155,156,157,
158,159,160,161,162,163,164,165,
166,167,168,169,170,171,172,173,
174,175,176,177,178,179,180,181,
182,183,184,185,186,187,188,189,
190,191,192,193,194,195,196,197,
198,199,200,201,202,203,204,205,
206,207,208,209,210,211,212,213,
214,215,216,217,218,219,220,221,
222,223,224,225,226,227,228,229,
230,231,232,233,234,235,236,237,
238,239,240,241,242,243,244,245,
246,247,248,249,250,251,252,253,
254,255,256,257,258,259,260,261,
262,263,264,265,266,267,268,269,
270,271,272,273,274,275,276,277,
278,279,280,281,282,283,284,285,
286,287,288,289,290,291,292,293,
294,295,296,297,298,299,300,301,
302,303,304,305,306,307,308,309,
310,311,312,313,314,315,316,317,
318,319,320,321,322,323,324,325,
326,327,328,329,330,331,332,333,
334,335,336,337,338,339,340,341,
342,343,344,345,346,347,348,349,
350,351,352,353,354,355,356,357,
358,359,360,361,362,363,364,365,
366,367,368,369,370,371,372,373,
374,375,376,377,378,379,380,381,
382,383,384,385,386,387,388,389,
390,391,392,393,394,395,396,397,
398,399,400,401,402,403,404,405,
406,407,408,409,410,411,412,413,
414,415,416,417,418,419,420,421,
422,423,424,425,426,427,428,429,
430,431,432,433,434,435,436,437,
438,439,440,441,442,443,444,445,
446,447,448,449,450,451,452,453,
454,455,456,457,458,459,460,461,
462,463,464,465,466,467,468,469,
470,471,472,473,474,475,476,477,
478,479,480,481,482,483,484,485,
486,487,488,489,490,491,492,493,
494,495,496,497,498,499,500,501,
502,503,504,505,506,507,508,509,
510,511,512,513,514,515,516,517,
518,519,520,521,522,523,524,525,
526,527,528,529,530,531,532,533,
534,535,536,537,538,539,540,541,
542,543,544,545,546,547,548,549,
550,551,552,553,554,555,556,557,
558,559,560,561,562,563,564,565,
566,567,568,569,570,571,572,573,
574,575,576,577,578,579,580,581,
582,583,584,585,586,587,588,589,
590,591,592,593,594,595,596,597,
598,599,600,601,602,603,604,605,
606,607,608,609,610,611,612,613,
614,615,616,617,618,619,620,621,
622,623,624,625,626,627,628,629,
630,631,632,633,634,635,636,637,
638,639,640,641,642,643,644,645,
646,647,648,649,650,651,652,653,
654,655,656,657,658,659,660,661,
662,663,664,665,666,667,668,669,
670,671,672,673,674,675,676,677,
678,679,680,681,682,683,684,685,
686,687,688,689,690,691,692,693,
694,695,696,697,698,699,700,701,
702,703,704,705,706,707,708,709,
710,711,712,713,714,715,716,717,
718,719,720,721,722,723,724,725,
726,727,728,729,730,731,732,733,
734,735,736,737,738,739,740,741,
742,743,744,745,746,747,748,749,
750,751,752,753,754,755,756,757,
758,759,760,761,762,763,764,765,
766,767,768,769,770,771,772,773,
774,775,776,777,778,779,780,781,
782,783,784,785,786,787,788,789,
790,791,792,793,794,795,796,797,
798,799,800,801,802,803,804,805,
806,807,808,809,810,811,812,813,
814,815,816,817,818,819,820,821,
822,823,824,825,826,827,828,829,
830,831,832,833,834,835,836,837,
838,839,840,841,842,843,844,845,
846,847,848,849,850,851,852,853,
854,855,856,857,858,859,860,861,
862,863,864,865,866,867,868,869,
870,871,872,873,874,875,876,877,
878,879,880,881,882,883,884,885,
886,887,888,889,890,891,892,893,
894,895,896,897,898,899,900,901,
902,903,904,905,906,907,908,909,
910,911,912,913,914,915,916,917,
918,919,920,921,922,923,924,925,
926,927,928,929,930,931,932,933,
934,935,936,937,938,939,940,941,
942,943,944,945,946,947,948,949,
950,951,952,953,954,955,956,957,
958,959,960,961,962,963,964,965,
966,967,968,969,970,971,972,973,
974,975,976,977,978,979,980,981,
982,983,984,985,986,987,988,989,
990,991,992,993,994,995,996,997,
998,999,1000,1001,1002,1003,1004,
1005,1006,1007,1008,1009,1010,1011,
1012,1013,1014,1015,1016,1017,1018,
1019,1020,1021,1022,1023]]) raised throw:{error,
view_undefined}
and last set views message for that index before that was:
[couchdb:info,2012-08-17T12:26:21.533, ns_1@10.3.121.25 :<0.22451.2>:couch_log:info:39]Started undefined main set view group `default`, group `_design/view4`, signature `9f58a2af60c3346d7151df1fda3bfaf0', view count: 1
before that we successfully completed call
[views:info,2012-08-17T12:25:56.008, ns_1@10.3.121.25 :'capi_ddoc_replication_srv-default':capi_set_view_manager:apply_index_states:347]
couch_set_view:mark_partitions_unindexable([<<"default">>,<<"_design/view4">>,
[]]) returned ok in 37ms
Problems seemingly happen shortly after dev_view4 gets different map function.
[ns_server:debug,2012-08-17T12:26:09.189, ns_1@10.3.121.25 :'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/dev_view4">>,
{2,<<75,19,227,82>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.country);\\n}\"}}}">>,
0,false,[]}
First one was:
[ns_server:debug,2012-08-17T11:46:57.494, ns_1@10.3.121.25 :'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/dev_view4">>,
{1,<<153,105,151,2>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.key_num);\\n}\"}}}">>,
0,false,[]}
which is same as _design/view4:
[ns_server:debug,2012-08-17T11:48:21.076, ns_1@10.3.121.25 :'capi_ddoc_replication_srv-default':cb_generic_replication_srv:handle_cast:131]Writing replicated ddoc {doc,<<"_design/view4">>,
{1,<<25,190,225,194>>},
<<"{\"views\":{\"view4\":{\"map\":\"function(doc){\\nemit(doc.key,doc.key_num);\\n}\"}}}">>,
0,false,[]}
Hide
Filipe Manana
added a comment -
Show
Filipe Manana
added a comment - Tony, please retest with latest master builds.
I think the cause here was MB-6810 and MB-6808 , which have changes merged to master since a day or 2 ago.
Show
Filipe Manana
added a comment - Any news here?
Hide
Filipe Manana
added a comment -
Show
Filipe Manana
added a comment - Caused by MB-6810 and MB-6808 . Not observed anymore after those 2 issues got fixed.
Show
Filipe Manana
added a comment - Ops, meant MB-6308 and MB-6310 .