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

Data tiering: fiber preemption and PreUpdate && PostUpdate might invalidate iterators #2488

Closed
kostasrim opened this issue Jan 26, 2024 · 0 comments · Fixed by #2497
Closed
Labels
bug Something isn't working

Comments

@kostasrim
Copy link
Contributor

kostasrim commented Jan 26, 2024

An example of this is OpMutableGet in string_family.cc:179. It first calls auto res = op_args.shard->db_slice().FindAndFetchMutable(op_args.db_cntx, key); which might preempt the fiber and interleave calls toPreUpdate && PostUpdate. Furthermore, iterators might be invalidated and a second Find is required. Also, investigate other commands as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant