You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "big-r81 (via GitHub)" <gi...@apache.org> on 2023/02/20 09:47:54 UTC

[GitHub] [couchdb] big-r81 opened a new issue, #4434: Cannot parse list of tags: `{invalid_flag,<<"partitioned">>}` on Windows

big-r81 opened a new issue, #4434:
URL: https://github.com/apache/couchdb/issues/4434

   ## Description
   
   Sometimes the following log messages appears when starting CouchDB for the very first time.
   
   ```
   [error] 2023-02-20T07:09:21.191000Z couchdb@localhost <0.130.0> -------- Cannot parse list of tags: 
   {invalid_flag,<<"partitioned">>}
   ```
   
   ## Steps to Reproduce
   
   No reproducable steps found so far. It's only on the very first run of CouchDB on Windows after install.
   
   * CouchDB version used: 3.3.1
   * Operating system and version: Windows 10 Pro
   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva commented on issue #4434: Cannot parse list of tags: `{invalid_flag,<<"partitioned">>}` on Windows

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva commented on issue #4434:
URL: https://github.com/apache/couchdb/issues/4434#issuecomment-1437341948

   It's probably because of `list_to_existing_atom` in https://github.com/apache/couchdb/blob/a1fc8075f3e86ec2242eedd2b1bbbd15758515e7/src/couch/src/couch_flags_config.erl#L161
   
   There may be a chicken-and-egg problem: we're trying to load the flags before we're loading the first instance or anything creating the partitioned` atom.
   
   We should see if `list_to_existing_atom` actually protects us from unauthorized users creating unreasonable amount of atoms (normally are not allowed unrestricted access to populate .ini config files). Or, we could have to predefined somewhere a list of expected atoms which may appear in flags.


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org