nickva commented on issue #3571:
URL: https://github.com/apache/couchdb/issues/3571#issuecomment-854989033
`{undef,[{math,ceil,[1.6],[]},{couch_emsort,num_merges,2,` is quite odd. I
can't figure out where it is coming from
I see erlang `ceil` function in
https://github.com/apache/couchdb/blob/ce596c65d9d7f0bc5d9937bcaf6253b343015690/src/couch/src/couch_emsort.erl#L363-L366
is calling `erlang:ceil` in
https://github.com/erlang/otp/blob/8b29b1ca870e6b31a0f3da067ebf4b1b4ceaa969/erts/preloaded/src/erlang.erl#L566-L570
which seems to call a C NIF function but not `math:ceil` which the error
indicates.
@schneuwlym what version of Erlang are you running? Wonder if there is
something related to that. `ceil` is a fairly new function in Erlang 20+ only.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]