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/11/21 16:36:58 UTC

[GitHub] [couchdb] nickva edited a comment on issue #2319: Draft implementation of node types

nickva edited a comment on issue #2319: Draft implementation of node types
URL: https://github.com/apache/couchdb/pull/2319#issuecomment-556044464
 
 
   @mikerhodes 
   
   The motivations for the strings vs atoms is, like you mentioned, is because of optional features like search, geo, etc. The initial code draft did have atoms actually :-) but when I got to search I switched it strings. I am 50%/50% and can see it going either way.
   
   As for reporting the configuration. I like the general pattern of having a "desired configuration" vs "actual running". The issue with the current state of FDB design is we don't have a way to report "node" status across all the nodes since they are not connected in a cluster. We'd need to write some registration and status reporting mechanism for nodes in FDB.  `_active_tasks` will probably work in a similar fashion though there we'd be focused on active background jobs instead of configuration status. I think it would be useful to have such a tool eventually, and probably not a terribly large development effort. 
   
   EDIT: I switched the implementation to use atoms. For debugging and inspection added log emits when node types are disabled.
   

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