Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-2
-
Fix Version/s: 2.0
-
Component/s: documentation, ns_server, view-engine
-
Security Level: Public
-
Labels:
-
Environment:HideMAC OS
build 1868
<manifest><remote name="couchbase" fetch="git://10.1.1.210/"/><remote name="membase" fetch="git://10.1.1.210/"/><remote name="apache" fetch="git://github.com/apache/"/><remote name="erlang" fetch="git://github.com/erlang/"/><default remote="couchbase" revision="master"/><project name="tlm" path="tlm" revision="ab70f6d42f46621ec576889e57cb37ac2d64a84b"><copyfile dest="Makefile" src="Makefile.top"/></project><project name="bucket_engine" path="bucket_engine" revision="70b3624abc697b7d18bf3d57f331b7674544e1e7"/><project name="ep-engine" path="ep-engine" revision="10b593cf4d97eaf062a6076878c5f8000d093ee9"/><project name="libconflate" path="libconflate" revision="2cc8eff8e77d497d9f03a30fafaecb85280535d6"/><project name="libmemcached" path="libmemcached" revision="ca739a890349ac36dc79447e37da7caa9ae819f5" remote="membase"/><project name="libvbucket" path="libvbucket" revision="00d3763593c116e8e5d97aa0b646c42885727398"/><project name="membase-cli" path="membase-cli" revision="7fe4121e7e83952a4cb032e25a2cb9fca1709354" remote="membase"/><project name="memcached" path="memcached" revision="06ab906e6702917c4b6b90a6b0051644719a357d" remote="membase"/><project name="moxi" path="moxi" revision="52a5fa887bfff0bf719c4ee5f29634dd8707500e"/><project name="ns_server" path="ns_server" revision="82c7c95e33445edcc6665e64216983e1027756e1"/><project name="portsigar" path="portsigar" revision="1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600"/><project name="sigar" path="sigar" revision="63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0"/><project name="couchbase-examples" path="couchbase-examples" revision="21e6161a1d064979b5c6aa99cd34ccc41c9d7aca"/><project name="couchbase-python-client" path="couchbase-python-client" revision="86b398e4fbc1f2e38d356e14df0c1bb4e3d2427b"/><project name="couchdb" path="couchdb" revision="69032c6dbcd64c056265416d2c49b1a9ee06f9c3"/><project name="couchdbx-app" path="couchdbx-app" revision="76d79be79c1454cff0f878d5a88a792270ec1b17"/><project name="couchstore" path="couchstore" revision="772f66a29a81be59d8bdaaa74b3898bb44fcc7e2"/><project name="geocouch" path="geocouch" revision="b0bd742551639c52030c070e5bf9390edbb536ba"/><project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5"/><project name="testrunner" path="testrunner" revision="621f470d068b2d20fce7b323e5f9fd44304db76c"/><project name="otp" path="otp" revision="b6dc1a844eab061d0a7153d46e7e68296f15a504" remote="erlang"/><project name="icu4c" path="icu4c" revision="26359393672c378f41f2103a8699c4357c894be7" remote="couchbase"/><project name="snappy" path="snappy" revision="5681dde156e9d07adbeeab79666c9a9d7a10ec95" remote="couchbase"/><project name="v8" path="v8" revision="447decb75060a106131ab4de934bcc374648e7f2" remote="couchbase"/><project name="gperftools" path="gperftools" revision="8f60ba949fb8576c530ef4be148bff97106ddc59" remote="couchbase"/><project name="pysqlite" path="pysqlite" revision="0ff6e32ea05037fddef1eb41a648f2a2141009ea" remote="couchbase"/></manifest>ShowMAC OS build 1868 <manifest><remote name="couchbase" fetch=" git://10.1.1.210/ "/><remote name="membase" fetch=" git://10.1.1.210/ "/><remote name="apache" fetch=" git://github.com/apache/ "/><remote name="erlang" fetch=" git://github.com/erlang/ "/><default remote="couchbase" revision="master"/><project name="tlm" path="tlm" revision="ab70f6d42f46621ec576889e57cb37ac2d64a84b"><copyfile dest="Makefile" src="Makefile.top"/></project><project name="bucket_engine" path="bucket_engine" revision="70b3624abc697b7d18bf3d57f331b7674544e1e7"/><project name="ep-engine" path="ep-engine" revision="10b593cf4d97eaf062a6076878c5f8000d093ee9"/><project name="libconflate" path="libconflate" revision="2cc8eff8e77d497d9f03a30fafaecb85280535d6"/><project name="libmemcached" path="libmemcached" revision="ca739a890349ac36dc79447e37da7caa9ae819f5" remote="membase"/><project name="libvbucket" path="libvbucket" revision="00d3763593c116e8e5d97aa0b646c42885727398"/><project name="membase-cli" path="membase-cli" revision="7fe4121e7e83952a4cb032e25a2cb9fca1709354" remote="membase"/><project name="memcached" path="memcached" revision="06ab906e6702917c4b6b90a6b0051644719a357d" remote="membase"/><project name="moxi" path="moxi" revision="52a5fa887bfff0bf719c4ee5f29634dd8707500e"/><project name="ns_server" path="ns_server" revision="82c7c95e33445edcc6665e64216983e1027756e1"/><project name="portsigar" path="portsigar" revision="1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600"/><project name="sigar" path="sigar" revision="63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0"/><project name="couchbase-examples" path="couchbase-examples" revision="21e6161a1d064979b5c6aa99cd34ccc41c9d7aca"/><project name="couchbase-python-client" path="couchbase-python-client" revision="86b398e4fbc1f2e38d356e14df0c1bb4e3d2427b"/><project name="couchdb" path="couchdb" revision="69032c6dbcd64c056265416d2c49b1a9ee06f9c3"/><project name="couchdbx-app" path="couchdbx-app" revision="76d79be79c1454cff0f878d5a88a792270ec1b17"/><project name="couchstore" path="couchstore" revision="772f66a29a81be59d8bdaaa74b3898bb44fcc7e2"/><project name="geocouch" path="geocouch" revision="b0bd742551639c52030c070e5bf9390edbb536ba"/><project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5"/><project name="testrunner" path="testrunner" revision="621f470d068b2d20fce7b323e5f9fd44304db76c"/><project name="otp" path="otp" revision="b6dc1a844eab061d0a7153d46e7e68296f15a504" remote="erlang"/><project name="icu4c" path="icu4c" revision="26359393672c378f41f2103a8699c4357c894be7" remote="couchbase"/><project name="snappy" path="snappy" revision="5681dde156e9d07adbeeab79666c9a9d7a10ec95" remote="couchbase"/><project name="v8" path="v8" revision="447decb75060a106131ab4de934bcc374648e7f2" remote="couchbase"/><project name="gperftools" path="gperftools" revision="8f60ba949fb8576c530ef4be148bff97106ddc59" remote="couchbase"/><project name="pysqlite" path="pysqlite" revision="0ff6e32ea05037fddef1eb41a648f2a2141009ea" remote="couchbase"/></manifest>
Description
i tried the following scenario on the latest build:
1. Create cluster of 2 nodes. load 1M items, 1K each with cbworkloadgen ./cbworkloadgen -n localhost:8091 -i10000000 -t6 -j -s1000
2. Create 1DD, with 4 simple views, of which 2 had _count reduce function so i can count all documents on that view.
3. I built the index and confirmed that the _count views return 1M items, i.e. index was built successfully.
4. I added 2 more nodes to the cluster and rebalance.
5. During the rebalance, i refreshed the _count views.
Expected behavior (with consistent views enabled by default) is that i will get the same 1M items during the reblance
Observed behavior: the number kept changing, and decreasing over time to 900K, 800K..
Iryna, can you collect the neccesary logs from this cluster and post it on this bug.
Cluster can be found at: http://184.169.209.178:8091/ (usual credentials)
Here are all the IP addresses:
ns_1@10.176.29.176 10.176.29.176 184.169.209.178 ns_1@10.176.9.41
ns_1@10.176.9.41 10.176.9.41 50.18.23.114 ns_1@10.176.9.41
ns_1@10.168.103.76 10.168.103.76 204.236.154.91 ns_1@10.176.9.41
ns_1@10.176.145.104 10.176.145.104 54.241.117.117 ns_1@10.176.9.41
I did a few things on this cluster like creating and removing indexes/nodes. so look at the logs at the end.
1. Create cluster of 2 nodes. load 1M items, 1K each with cbworkloadgen ./cbworkloadgen -n localhost:8091 -i10000000 -t6 -j -s1000
2. Create 1DD, with 4 simple views, of which 2 had _count reduce function so i can count all documents on that view.
3. I built the index and confirmed that the _count views return 1M items, i.e. index was built successfully.
4. I added 2 more nodes to the cluster and rebalance.
5. During the rebalance, i refreshed the _count views.
Expected behavior (with consistent views enabled by default) is that i will get the same 1M items during the reblance
Observed behavior: the number kept changing, and decreasing over time to 900K, 800K..
Iryna, can you collect the neccesary logs from this cluster and post it on this bug.
Cluster can be found at: http://184.169.209.178:8091/ (usual credentials)
Here are all the IP addresses:
ns_1@10.176.29.176 10.176.29.176 184.169.209.178 ns_1@10.176.9.41
ns_1@10.176.9.41 10.176.9.41 50.18.23.114 ns_1@10.176.9.41
ns_1@10.168.103.76 10.168.103.76 204.236.154.91 ns_1@10.176.9.41
ns_1@10.176.145.104 10.176.145.104 54.241.117.117 ns_1@10.176.9.41
I did a few things on this cluster like creating and removing indexes/nodes. so look at the logs at the end.
Activity
Sharon Barr
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | 54.241.117.117 - new node 1.txt.zip [ 15497 ] | |
| Attachment | 204.236.154.91 - new node 2.txt.zip [ 15498 ] |
Sharon Barr
made changes -
| Summary | Consistent view during rebalance (1DD, 4 views) on build 1868 does not seem to work | index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 |
Farshid Ghods
made changes -
| Assignee | Iryna Mironava [ Iryna ] | Filipe Manana [ FilipeManana ] |
Sharon Barr
made changes -
| Fix Version/s | 2.0 [ 10114 ] | |
| Affects Version/s | 2.0-beta-2 [ 10385 ] |
Iryna Mironava
made changes -
| Summary | index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 | [Mac OS]index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 |
| Environment |
MAC OS
build 1868 <manifest><remote name="couchbase" fetch="git://10.1.1.210/"/><remote name="membase" fetch="git://10.1.1.210/"/><remote name="apache" fetch="git://github.com/apache/"/><remote name="erlang" fetch="git://github.com/erlang/"/><default remote="couchbase" revision="master"/><project name="tlm" path="tlm" revision="ab70f6d42f46621ec576889e57cb37ac2d64a84b"><copyfile dest="Makefile" src="Makefile.top"/></project><project name="bucket_engine" path="bucket_engine" revision="70b3624abc697b7d18bf3d57f331b7674544e1e7"/><project name="ep-engine" path="ep-engine" revision="10b593cf4d97eaf062a6076878c5f8000d093ee9"/><project name="libconflate" path="libconflate" revision="2cc8eff8e77d497d9f03a30fafaecb85280535d6"/><project name="libmemcached" path="libmemcached" revision="ca739a890349ac36dc79447e37da7caa9ae819f5" remote="membase"/><project name="libvbucket" path="libvbucket" revision="00d3763593c116e8e5d97aa0b646c42885727398"/><project name="membase-cli" path="membase-cli" revision="7fe4121e7e83952a4cb032e25a2cb9fca1709354" remote="membase"/><project name="memcached" path="memcached" revision="06ab906e6702917c4b6b90a6b0051644719a357d" remote="membase"/><project name="moxi" path="moxi" revision="52a5fa887bfff0bf719c4ee5f29634dd8707500e"/><project name="ns_server" path="ns_server" revision="82c7c95e33445edcc6665e64216983e1027756e1"/><project name="portsigar" path="portsigar" revision="1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600"/><project name="sigar" path="sigar" revision="63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0"/><project name="couchbase-examples" path="couchbase-examples" revision="21e6161a1d064979b5c6aa99cd34ccc41c9d7aca"/><project name="couchbase-python-client" path="couchbase-python-client" revision="86b398e4fbc1f2e38d356e14df0c1bb4e3d2427b"/><project name="couchdb" path="couchdb" revision="69032c6dbcd64c056265416d2c49b1a9ee06f9c3"/><project name="couchdbx-app" path="couchdbx-app" revision="76d79be79c1454cff0f878d5a88a792270ec1b17"/><project name="couchstore" path="couchstore" revision="772f66a29a81be59d8bdaaa74b3898bb44fcc7e2"/><project name="geocouch" path="geocouch" revision="b0bd742551639c52030c070e5bf9390edbb536ba"/><project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5"/><project name="testrunner" path="testrunner" revision="621f470d068b2d20fce7b323e5f9fd44304db76c"/><project name="otp" path="otp" revision="b6dc1a844eab061d0a7153d46e7e68296f15a504" remote="erlang"/><project name="icu4c" path="icu4c" revision="26359393672c378f41f2103a8699c4357c894be7" remote="couchbase"/><project name="snappy" path="snappy" revision="5681dde156e9d07adbeeab79666c9a9d7a10ec95" remote="couchbase"/><project name="v8" path="v8" revision="447decb75060a106131ab4de934bcc374648e7f2" remote="couchbase"/><project name="gperftools" path="gperftools" revision="8f60ba949fb8576c530ef4be148bff97106ddc59" remote="couchbase"/><project name="pysqlite" path="pysqlite" revision="0ff6e32ea05037fddef1eb41a648f2a2141009ea" remote="couchbase"/></manifest> |
Deepkaran Salooja
made changes -
| Attachment | 10.3.3.95-8091-diag.txt.gz [ 15499 ] | |
| Attachment | 10.3.3.104-8091-diag.txt.gz [ 15500 ] | |
| Attachment | 10.3.3.106-8091-diag.txt.gz [ 15501 ] | |
| Attachment | 10.3.3.107-8091-diag.txt.gz [ 15502 ] |
Farshid Ghods
made changes -
| Summary | [Mac OS]index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 | [centos,mac osx]index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 |
Sharon Barr
made changes -
| Fix Version/s | 2.0-beta-2 [ 10385 ] | |
| Fix Version/s | 2.0 [ 10114 ] |
Farshid Ghods
made changes -
| Summary | [centos,mac osx]index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 | [centos,mac osx]index seems not to be built (at least for _count reduce) during rebalance with consistent view ( dev views ) (1DD, 4 views) - build 1868 |
Damien Katz
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Won't Fix [ 2 ] |
Farshid Ghods
made changes -
| Resolution | Won't Fix [ 2 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Farshid Ghods
made changes -
| Assignee | Filipe Manana [ FilipeManana ] | MC Brown [ mccouch ] |
Farshid Ghods
made changes -
| Summary | [centos,mac osx]index seems not to be built (at least for _count reduce) during rebalance with consistent view ( dev views ) (1DD, 4 views) - build 1868 | dev-views index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 |
Farshid Ghods
made changes -
| Labels | 2.0-release-notes | |
| Fix Version/s | 2.0 [ 10114 ] | |
| Fix Version/s | 2.0-beta-2 [ 10385 ] | |
| Component/s | documentation [ 10012 ] |
Farshid Ghods
made changes -
| Assignee | MC Brown [ mccouch ] | Aleksey Kondratenko [ alkondratenko ] |
Aleksey Kondratenko
made changes -
| Assignee | Aleksey Kondratenko [ alkondratenko ] | Farshid Ghods [ farshid ] |
Farshid Ghods
made changes -
| Assignee | Farshid Ghods [ farshid ] | Rahim Yaseen [ yaseen ] |
Rahim Yaseen
made changes -
| Assignee | Rahim Yaseen [ yaseen ] | Aleksey Kondratenko [ alkondratenko ] |
Aleksey Kondratenko
made changes -
| Assignee | Aleksey Kondratenko [ alkondratenko ] | Rahim Yaseen [ yaseen ] |
Steve Yen
made changes -
| Assignee | Rahim Yaseen [ yaseen ] | MC Brown [ mccouch ] |
| Priority | Blocker [ 1 ] | Major [ 3 ] |
MC Brown
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
at the end of the rebalance, there were 630K items on this view, and it seems that the index was rebuilt until it reached the 1M number.
it seems that the index is NOT being built during the rebalance.