nickva commented on issue #4994:
URL: https://github.com/apache/couchdb/issues/4994#issuecomment-2034858367

   @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 dump the `SigInfo` term there and 
try running the term through the term_to_binary in an erlang prompt on all 
erlang/architecture versions and see it  produces the same result.
   
   Erlang 26 had introduced the `deterministic` term_to_binary option so maybe 
we should start using that (though it only guarantees to be stable for the same 
Erlang/OTP release).
   
   The other thing that's changed is UTF8 encoding of atoms. That's probably 
what the problem is here.
   
   See some discussion from last year about it: 
https://github.com/apache/couchdb/issues/4467#issuecomment-1464005748
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to