GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/64
Fix convertion of view states
It is possible to have one or multiple view states to be nil when their
views do not emit documents.
As a result update and purge sequences could be incorrectly set to 0 during
init_state migration for missing or old headers.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-mrview
fix-view-state-convertion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/64.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #64
----
commit 7ae67e4b358457cb3bbbfcebd181367c27813dda
Author: Eric Avdey <[email protected]>
Date: 2017-01-05T16:25:28Z
Fix convertion of view states
It is possible to have one or multiple view states
to be nil when their views do not emit documents.
As a result update and purge sequences could be
incorrectly set to 0 during init_state migration
for missing or old headers.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---