nickva opened a new pull request, #5611: URL: https://github.com/apache/couchdb/pull/5611
Currently, CouchDB on-disk header structure allows appending new fields to the header record in such a way that newer versions can upgrade themselves from the old versions easily. However, it was not possible to perform a downgrade back to an old version in case something went wrong. While in general it may not be safe to downgrade, it may be possible for some features so allow for such an option and make it configurable. The release notes of future releases may indicate which version are downgrade safe. Then, to perform a downgrade users would enable the downgrade flag, downgrade, and then reset it back to default = false. Implementation-wise, it's pretty basic, if the size of the new tuple is larger than the old one, only use as many tuple fields as that (now old version) knows about, everything else is discarded. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org