You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2026/03/05 22:02:17 UTC
[PR] Fix signatures in mrview purge checkpoints [couchdb]
nickva opened a new pull request, #5912:
URL: https://github.com/apache/couchdb/pull/5912
Switch from lists of integers (see example below) to a binary.
```json
{
"_id": "_local/purge-mrview-e758e0655818718ba98d8f53168f848f",
"_rev": "0-1",
"type": "mrview",
"purge_seq": 393,
"updated_on": 1772740238,
"ddoc_id": "_design/mr",
"signature": [
101,
55,
53,
56,
101,
48,
54,
53,
53,
56,
49,
56,
55,
49,
56,
98,
97,
57,
56,
100,
56,
102,
53,
51,
49,
54,
56,
102,
56,
52,
56,
102
]
}
```
Since the old format was written to disk leave in a compatibility clause. At some point in the future maybe opt to auto-upgrade those docs, but for now, to allow effortless downgrading keep them as is.
While at it, update the doc writer to use the newer time function and update the tests to use the `?TDEF_FE` macro and save two indentation levels that way.
--
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-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix signatures in mrview purge checkpoints [couchdb]
Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva commented on PR #5912:
URL: https://github.com/apache/couchdb/pull/5912#issuecomment-4008144193
As an aside, dreyfus does the right thing and uses a binary: https://github.com/apache/couchdb/blob/d97e7717ed69f9a03d0185f7d239165cb96c58d8/src/dreyfus/src/dreyfus_index.erl#L318-L324
--
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-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix signatures in mrview purge checkpoints [couchdb]
Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva merged PR #5912:
URL: https://github.com/apache/couchdb/pull/5912
--
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-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org