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

关于分裂的一些问题 #1164

Open
yaowenfeng998 opened this issue Nov 28, 2024 · 0 comments
Open

关于分裂的一些问题 #1164

yaowenfeng998 opened this issue Nov 28, 2024 · 0 comments

Comments

@yaowenfeng998
Copy link

假设region分裂的阈值为2 初始状态只有一个region id为-1, 现在有一队put请求依次进来 k1,k5,k9

假设 分裂成两个region 1 [-∞,k9) 2 [k9,+∞) 现在1分区上有两个kv 分别是k1,k5, 2分区上是k9 一个
那么此时又收到一个请求k8,应该落在1分区上 ,此时1分区再次分裂 分裂成 [-∞,k8) 和[k8,k9)
这样[k8,k9)这个分区 就只有这一个kv了 这样理解对吗? 这样对于个别极端的region 中 只管理了极少数的key吗?

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

No branches or pull requests

1 participant