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 2019/06/14 22:58:34 UTC

[GitHub] [couchdb] rnewson commented on issue #2037: Add "Dreyfus" (Erlang side of Search) to CouchDB

rnewson commented on issue #2037: Add "Dreyfus" (Erlang side of Search) to CouchDB
URL: https://github.com/apache/couchdb/pull/2037#issuecomment-502304981
 
 
   Testing for clouseau is a better approach but be aware that dreyfus intentionally tolerates clouseau not being up, any search request is retried a few times (with a sleep inbetween) if it’s down, in order to mask a clouseau reboot (typically for upgrades, but JVM’s do sometimes OOM).
   
   > On 14 Jun 2019, at 21:50, Adam Kocoloski <no...@github.com> wrote:
   > 
   > @nowisesys pointed out an interesting issue with this Pull Request. We have an ancient pattern in Mango which does a module_loaded(dreyfus_index) to check for the presence of Dreyfus before advertising text indexes. In release mode that module is not loaded on startup, so even if Dreyfus is included in a release the check can fail. Oops!
   > 
   > A trivial switch here would be to use dreyfus_sup instead of dreyfus_index as the former will be loaded as part of the supervision tree, but that doesn't actually confirm a working Search system since this PR proposes to always start the Dreyfus app. I think we should come up with a smarter approach -- perhaps testing for a connected Clouseau node instead?
   > 
   > /cc @rnewson @tonysun83 for comment
   > 
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub, or mute the thread.
   > 
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services