Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.0-developer-preview-3
-
Security Level: Public
-
None
-
Development environment
Description
Minimized down to the following:
1) started 2 nodes development cluster
2) setup first node
3) upload 5k of 10k documents (via mc-loader from github.com/alk/mc-loader fork): cat tiny-keyset | ./mc-loader lh:12001 - valuesize 10000 (not with valuesize option mc-loader ignores values, it honors only keys from data set)
4) wait till write queue drops to 0
5) upload 5k of small json docs (from tiny-keyset) : cat tinykey | ./mc-loader lh:12001 - (not valuesize is not passed)
6) wait till write queue drops to 0
7) create 'identity' view via 'Create Development View' button (in my case _design/dev_t with view name t)
8) run this view in full mode and observe that everything is ok (5k rows)
9) add second node and rebalance
10) wait till write queue drops to 0
11) run same view and observe that only half items is there. Most of the time I was getting same half items silently, but this time I'm also getting this:
pi:~/src/altoros/moxi/repo20# wget O 'http://192.168.1.103:9500/default/_design/dev_t/_view/t?full_set=true&connection_timeout=2000000&limit=10&skip=0' | json_reformat
-2011-12-28 17:10:20- http://192.168.1.103:9500/default/_design/dev_t/_view/t?full_set=true&connection_timeout=2000000&limit=10&skip=0
Connecting to 192.168.1.103:9500... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `STDOUT'
[ <=> ] 642 --.-K/s in 0s
2011-12-28 17:10:20 (2.15 MB/s) - written to stdout [642]
{
"total_rows": 2500,
"rows": [
,
,
,
,
,
,
,
,
,
{ "id": "00000049", "key": "00000049", "value": null } ],
"errors": [
]
}
pi:~/src/altoros/moxi/repo20# wget O 'http://192.168.1.103:9501/default/_design/dev_t/_view/t?full_set=true&connection_timeout=2000000&limit=10&skip=0' | json_reformat
-2011-12-28 17:10:34- http://192.168.1.103:9501/default/_design/dev_t/_view/t?full_set=true&connection_timeout=2000000&limit=10&skip=0
Connecting to 192.168.1.103:9501... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `STDOUT'
[ <=> ] 675 --.-K/s in 0.001s
2011-12-28 17:10:34 (623 KB/s) - written to stdout [675]
{
"total_rows": 2500,
"rows": [
,
,
,
,
,
,
,
,
,
{ "id": "00000049", "key": "00000049", "value": null } ],
"errors": [
]
}
Note that somehow first uploading 10k 0-s of crap and then rewriting it with json is seemingly required for reproduction.
Will attach diags from both nodes and tiny keyset