You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "taiheyp (via GitHub)" <gi...@apache.org> on 2023/08/31 02:16:28 UTC
[GitHub] [kvrocks] taiheyp created a discussion: Best practice to sync namespaces & tokens from master to slave
GitHub user taiheyp created a discussion: Best practice to sync namespaces & tokens from master to slave
Here's the situation:
I've set up kvrocks in sentinel mode - 1 master + 2 slaves, and added some namespaces & tokens on the master node. In case of master failover, I had to add ns & tokens on slave nodes as well, or it would lead to `invalid password` error (even though the keys had already been synced).
So, is there a "best practice" to sync ns & tokens instead of doing this manually?
GitHub link: https://github.com/apache/kvrocks/discussions/1719
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] xiaobiaozhao added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Posted by "xiaobiaozhao (via GitHub)" <gi...@apache.org>.
GitHub user xiaobiaozhao added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
BTY, Can we rethink the design of namespace?
GitHub link: https://github.com/apache/kvrocks/discussions/1719#discussioncomment-6885073
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] git-hulk closed the discussion with a comment: Best practice to sync namespaces & tokens from master to slave
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk closed the discussion with a comment: Best practice to sync namespaces & tokens from master to slave
Thanks all for supporting this, please move to issue #1720 if you have any further comments.
GitHub link: https://github.com/apache/kvrocks/discussions/1719#discussioncomment-6885150
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] git-hulk added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Yes, I will post the design proposal recently.
GitHub link: https://github.com/apache/kvrocks/discussions/1719#discussioncomment-6885135
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] ShooterIT added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Posted by "ShooterIT (via GitHub)" <gi...@apache.org>.
GitHub user ShooterIT added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
I think namespace also is a kind of data, so let's do it🥳
GitHub link: https://github.com/apache/kvrocks/discussions/1719#discussioncomment-6870774
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] caipengbo added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Posted by "caipengbo (via GitHub)" <gi...@apache.org>.
GitHub user caipengbo added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Yes, we should support this.
GitHub link: https://github.com/apache/kvrocks/discussions/1719#discussioncomment-6870690
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] git-hulk added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Best practice to sync namespaces & tokens from master to slave
Yes, maybe we can support syncing tokens between master and slaves. To see if other guys feel good about this. @apache/kvrocks-committers
GitHub link: https://github.com/apache/kvrocks/discussions/1719#discussioncomment-6870677
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org
[GitHub] [kvrocks] taiheyp closed a discussion: Best practice to sync namespaces & tokens from master to slave
Posted by "taiheyp (via GitHub)" <gi...@apache.org>.
GitHub user taiheyp closed a discussion: Best practice to sync namespaces & tokens from master to slave
Here's the situation:
I've set up kvrocks in sentinel mode - 1 master + 2 slaves, and added some namespaces & tokens on the master node. In case of master failover, I had to add ns & tokens on slave nodes as well, or it would lead to `invalid password` error (even though the keys had already been synced).
So, is there a "best practice" to sync ns & tokens instead of doing this manually?
GitHub link: https://github.com/apache/kvrocks/discussions/1719
----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org