[MB-6804] Ignore effectless indexable/unindexable state transitions Created: 03/Oct/12 Updated: 26/Oct/12 Resolved: 03/Oct/12 |
|
| Status: | Resolved |
| Project: | Couchbase Server |
| Component/s: | view-engine |
| Affects Version/s: | 2.0-beta |
| Fix Version/s: | 2.0-beta-2 |
| Security Level: | Public |
| Type: | Improvement | Priority: | Major |
| Reporter: | Filipe Manana | Assignee: | Filipe Manana |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
During rebalance ns_server keeps asking to mark a group of partitions as indexable when they're all already indexable (or when they're all unindexable already).
This causes updater, compactor and cleaner processes to be restarted, and an header to be built and written to the index file, as the view engine wasn't accounting for such useless calls. Such effectless and useless calls, should just be a no-op with no side effects. |
| Comments |
| Comment by Thuan Nguyen [ 03/Oct/12 ] |
|
Integrated in github-couchdb-preview #509 (See [http://qa.hq.northscale.net/job/github-couchdb-preview/509/]) Result = SUCCESS pwansch : Files : * src/couch_set_view/src/couch_set_view_group.erl |
| Comment by Karen Zeller [ 26/Oct/12 ] |
|
RN: Couchbase Server kept requesting to mark a group of partitions
as indexable when they were already marked as indexable, or when they are already correctly marked as unindexable. This triggered redundant effort by processes. It is now fixed. |