You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/10/01 19:57:59 UTC
[GitHub] wohali opened a new issue #854: couch_replicator_scheduler_job using random module
wohali opened a new issue #854: couch_replicator_scheduler_job using random module
URL: https://github.com/apache/couchdb/issues/854
## Current Behaviour
When attempting a CouchDB build using Erlang 20, the following warnings are emitted:
```
==> couch_replicator (compile)
/home/joant/couchdb/src/couch_replicator/src/couch_replicator_scheduler_job.erl:113: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
/home/joant/couchdb/src/couch_replicator/src/couch_replicator_scheduler_job.erl:471: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
```
## Expected Behavior
We should emit no warnings during compile.
## Possible Solution
Something similar to the now-removed `couch_crypto` module approach is probably necessary, see
https://github.com/apache/couchdb/pull/681/files#diff-d638c36d558ae9f19898014029c6007f
## Context
Trying to finish cleaning up CouchDB for OTP-20 compatibility.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services