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

"ABA"? #413

Closed
tdrhq opened this issue Jul 27, 2023 · 1 comment
Closed

"ABA"? #413

tdrhq opened this issue Jul 27, 2023 · 1 comment

Comments

@tdrhq
Copy link

tdrhq commented Jul 27, 2023

Hi folks!

Thanks for building braft, super awesome so far.

I'm not able to figure out what ABA stands for. I see it referenced at several places, including the examples (e.g. https://github.com/baidu/braft/blob/master/example/block/server.cpp#L153).

I'm not sure if this is a standard terminology associated with the Raft protocol since I'm not able to find any relevant Google search results. Could you expand that for me? I'm happy to go about searching and reading about this myself, but right now I just don't know what to look for.

Thanks!
Arnold

@tdrhq
Copy link
Author

tdrhq commented Jul 27, 2023

Ah, as soon as I wrote that I think I figured it out https://en.wikipedia.org/wiki/ABA_problem

Still trying to figure out how that line of code prevents issues here, but at least at this point I know what this is talking about so I'll close this out.

@tdrhq tdrhq closed this as completed Jul 27, 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

No branches or pull requests

1 participant