nickva commented on issue #4994: URL: https://github.com/apache/couchdb/issues/4994#issuecomment-2034889690
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 the a different hash. On 26 ``` > term_to_binary(foo, [{minor_version,1}]). <<131,100,0,3,102,111,111>> > term_to_binary(foo). <<131,119,3,102,111,111>> ``` But I wonder if there is something else besides atoms there that would cause in-determinism, I'd hope not because that would be terrible. We don't use maps there, ref and pids but binary reference chunks might sneak in...? -- 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