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

support doublebase #379

Closed
wants to merge 4 commits into from
Closed

support doublebase #379

wants to merge 4 commits into from

Conversation

hustfisher
Copy link
Member

@hustfisher hustfisher commented Oct 26, 2023

一 支持doubleBase 说明如下:

  1. gets
  • 1.1. master,失败就请求master_l1(目前不支持slave);
  1. cas
  • 2.1. 首选master,unique id冲突,则返回失败;
  • 2.2. 其他情况,即认为成功(只要有一个layer可用,),改为set写所有layers。
  1. add
  • 3.1. 首先master回应失败,则认为失败;
  • 3.2. 其他场景,均认为成功(只要有一个layer可用);
  1. set
  • 4.2. 不管master是否成功,统统set其他层;

二 备注

  1. 如果要避免set受master异常节点影响,设置force_write_all 为true即可

@hustfisher hustfisher closed this Nov 14, 2023
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

Successfully merging this pull request may close these issues.

1 participant