Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot parse list of tags: {invalid_flag,<<"partitioned">>} on Windows #4434

Open
big-r81 opened this issue Feb 20, 2023 · 1 comment
Open
Labels

Comments

@big-r81
Copy link
Contributor

big-r81 commented Feb 20, 2023

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
@nickva
Copy link
Contributor

nickva commented Feb 20, 2023

It's probably because of list_to_existing_atom in

list_to_existing_atom(FlagNameS)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants