[
https://issues.apache.org/jira/browse/COUCHDB-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976926#action_12976926
]
Paul Joseph Davis commented on COUCHDB-1010:
--------------------------------------------
Adam pointed out on IRC that I'm starting to go down a bit of a rabbit hole to
get the driver reloading to actually work. Reading the docs on driver reloading
it appears to be something that would be quite difficult to get right because
of how we have long lived ports open to the driver amongst other things.
Seeing as the driver code is relatively stable we came to the conclusion that
the answer to this particular problem may be to just not even attempt the
reload for now. Just leave the gen_server with its initial load and ignore
config changes for the driver. If someone needs to reload in the future for
some insane reason, then they can work through the details of try_load and
friends and what happens to processes with open ports and such forth.
> 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.