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

Proposal: change internal database naming scheme #546

Closed
mlucy opened this issue Jun 1, 2016 · 1 comment
Closed

Proposal: change internal database naming scheme #546

mlucy opened this issue Jun 1, 2016 · 1 comment
Labels
Milestone

Comments

@mlucy
Copy link
Member

mlucy commented Jun 1, 2016

@Tryneus told me that if you have a project foo, we currently create two databases foo and foo_internal. This naming scheme is kind of bad, because if a user has two projects bar and bar_internal, the internal database for the first project and the non-internal database for the second project will conflict.

Another problem is that we aren't namespacing these databases, which makes it hard for them to coexist with other databases that might already be in people's RethinkDB cluster. (For example, if you have data in the test database, which is very common, then having a project named test will be in the same place.)

I'd like to propose that instead of foo and foo_internal, we have hz_foo and hzinternal_foo. That solves the first problem and also makes conflicts much much less likely (as well as allowing people to have projects named rethinkdb).

@mlucy mlucy added the server label Jun 1, 2016
@deontologician deontologician added this to the Medium term plans milestone Jun 10, 2016
@deontologician
Copy link
Contributor

This was resolved in 2.0.0, we now have hz_ prefixed secret tables in the app database.

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