Nick Vatamaniuc
Nick Vatamaniuc
That happens when a view shard is opened but has a view signature that's not current. It comes from https://github.com/apache/couchdb/blob/29db2df901207d67e1975ca11a091bcb7f46abcc/src/couch_mrview/src/couch_mrview_index.erl#L141 The expected signature matches file path: ``` binary:encode_hex(). ``` The...
I am not sure exactly why more CPU would be consumed on the other nodes. It could be that view shards there hadn't caught up as much as the shard...
@jcoglan I suspect if term_to_binary output is different between architectures or erlang versions somehow. View signatures are computed in: https://github.com/apache/couchdb/blob/33bfa1328ed7f20de2983c9394fb473cf4ca5ecf/src/couch_mrview/src/couch_mrview_util.erl#L280-L281 See if you can an add a log statement and...
Good find @rnewson it's the `{minor_version, 1}` and atom encoding. Any terms with atoms produced running with Erlang 26 before that would definitely have a different hash. On 26 ```...
> We have reproduced the same issue on the server without docker. @sergey-safarov that's good news. Can it turned into a script or it's fairly simple to describe steps?
I searched through our logs and found a few of "has the wrong signature" errors as well. In our case they all happened on nodes were being decommissioned and database...
I don't typically run CouchDB in a docker container so this all speculative advice. A few things to try: * Adjusting couchjs process setting, lower their number with https://docs.couchdb.org/en/stable/config/query-servers.html#query_server_config/os_process_limit. Make...
Thanks for the heads-up @RaitoBezarius. We're investigating using QuickJS https://github.com/apache/couchdb/issues/4448 but so far it hasn't made into a release yet. After the discussion in the Apache CouchDB meeting the plan...
@big-r81 we can't use 102 they changed the C++ API