Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3163

couchdb spams the logs every 5 seconds when started for the first time

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
      None

      Description

      Starting couchdb 2.0 for the first time spams the logs every 5 seconds, until it's configured for cluster or single mode operation.

      Sep 20 17:09:51 arch-uefi-test couchdb[3935]: [error] 2016-09-20T17:09:51.565354Z couchdb@localhost emulator -------- Error in process <0.4816.3> on node couchdb@localhost with exit value:
      Sep 20 17:09:51 arch-uefi-test couchdb[3935]: {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,327}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,315}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,331}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,87}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,38}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,187}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,134}]}]}
      Sep 20 17:09:51 arch-uefi-test couchdb[3935]: [notice] 2016-09-20T17:09:51.565585Z couchdb@localhost <0.321.0> -------- chttpd_auth_cache changes listener died database_does_not_exist at mem3_shards:load_shards_from_db/6(line:327) <= mem3_shards:load_shards_from_disk/1(line:315) <= mem3_shards:load_shards_from_disk/2(line:331) <= mem3_shards:for_docid/3(line:87) <= fabric_doc_open:go/3(line:38) <= chttpd_auth_cache:ensure_auth_ddoc_exists/2(line:187) <= chttpd_auth_cache:listen_for_changes/1(line:134)
      

      Suggested fix, there should be a single big WARNING in the logs that the node is not configured, and fauxton should redirect to the setup page before anything else.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gdamjan Damjan Georgievski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: