[
https://issues.apache.org/jira/browse/COUCHDB-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976927#action_12976927
]
Benoit Chesneau commented on COUCHDB-1010:
------------------------------------------
I didn't duplicate. one is loadaing load is trying to load or reload.
No like you I read the man. Reading this code, it seem that using pending
option in try_load imply the kill_ports option:
[[[
The reload option can be either the atom pending, in which reloading is
requested for any driver and will be effectuated when all ports opened against
the driver are closed. The replacement of the driver will in this case take
place regardless of if there are still pending users having the driver loaded!
The option also triggers port-killing (if the kill_ports driver option is used)
even though there are pending users, making it usable for forced driver
replacement,
]]]
Not sure if in this case we need to set the option then. Do you mean using the
same code in init and reload ? I wonder anyway if we should cast, maybe we
should call here and just rely on this timeout.
> improve supervision tree and config changes reload
> --------------------------------------------------
>
> Key: COUCHDB-1010
> URL: https://issues.apache.org/jira/browse/COUCHDB-1010
> Project: CouchDB
> Issue Type: Improvement
> Components: Database Core
> Affects Versions: 1.2
> Reporter: Benoit Chesneau
> Assignee: Benoit Chesneau
> Fix For: 1.2
>
> Attachments: 0001-export-functions-to-couch_config.patch,
> 0002-another-port-from-bigcouch.-i.patch,
> 0002-another-port-from-bigcouch.-i.patch,
> 0003-do-like-in-other-module.-s-couch_os_daemons-MODULE.patch,
> COUCHDB-1010.patch
>
>
> port from bigcouch which is under apache license 2.
> - improve supervision
> - clean config changes handling.
> This has been tested in an undisclosed yet project named refuge wich is also
> based on couchdb but is more OTP and rebar friendly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.