Restream / reindexer

Embeddable, in-memory, document-oriented database with a high-level Query builder interface.
https://reindexer.io
Apache License 2.0
763 stars 64 forks source link

CreateIfMissing option is not set #49

Open oruchreis opened 4 years ago

oruchreis commented 4 years ago

I got this error on slave node:

[W19/12 09:05:58.889 23] [repl:SomeNamespaceCreatedBeforeSlave] Error: Storage directory doesn't exist for namespace 'SomeNamespaceCreatedBeforeSlave' on path '/data/Db' and CreateIfMissing option is not set

If the namespace was created in the master before the slave's db created, the slave gives above error. But if I create a namespace in the master after the slave's db created, it can replicate sucessfully.