You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/10/17 00:36:16 UTC

[GitHub] [couchdb] nickva edited a comment on issue #3789: Database stopped working after upgrading to CouchDB 3.2.0 and "unknown_error : badarith" was logged

nickva edited a comment on issue #3789:
URL: https://github.com/apache/couchdb/issues/3789#issuecomment-944317391


   Thanks for the report, @arnesten
   
   It is indeed a bug. The request_timeout value from fabric in 3.2.0 is used in an arithmetic expression, while previously in 3.1.1 it was just passed to Erlang VM's `receive ... after Timeout -> ...` expression. The `receive` statement can handle the `infinity` atom while the arithmetic expression cannot and crashes.
   
   It seems the infinity value was undocumented, but again so was is whole `[fabric]` config section. While we fix this, setting a large numeric value, or accepting the default (60000) can be workaround. Thanks again for debugging the issue and providing a stacktrace that pointed to the cause right away.
   


-- 
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