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

Bug: A database that has only migrations collection is created wrongly #1361

Closed
yuki-takei opened this issue Nov 14, 2019 · 0 comments
Closed

Comments

@yuki-takei
Copy link
Member

Environment

Host

item version
GROWI v3.5.x or above (v3.5.x かそれ以下)

How to reproduce? (再現手順)

  1. Set MONGO_URI to the url that has parameters
    MONGO_URI にパラメータを持つ URL をセットする
    • e.g. mongodb://example.com:27017/growi?replicaSet=rs0
  2. Launch server
    サーバー起動

What happens? (症状)

  • 2 databases are created
    2つのデータベースが作成される
    • growi
      • This does not have migrations collection
        このDBは migrations コレクションを持たない
    • growi?replicaSet=rs0
      • This has migrations collection
        このDBは migrations コレクションを持つ

What is the expected result? (期待される動作)

  • growi DB has migrations collection
    growi DB が migrations コレクションを持つ
  • growi?replicaSet=rs0 DB is not created
  • growi?replicaSet=rs0 DB が作成されない

Note

v3.6.0 fix this problem.
Please see Upgrading guide (en)

v3.6.0 でこの問題を解決しています。
Upgrading guide (ja) を確認してください。

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

No branches or pull requests

1 participant