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

Fix ets:rename during ets:delete_all_objects #6366

Merged

Conversation

sverker
Copy link
Contributor

@sverker sverker commented Oct 13, 2022

A concurrent call to ets:rename could cause ets:delete_all_objects to fail halfway through with badarg and "the table identifier does not refer to an existing ETS table".

This bug does not seem to cause any problem in practice
other than the debug ASSERT(fixdel->all) in the same function.
Concurrent ets:rename could cause ets:delete_all_objects
to fail halfway through with badarg

"the table identifier does not refer to an existing ETS table"
@sverker sverker added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI bug Issue is reported as a bug labels Oct 13, 2022
@sverker sverker self-assigned this Oct 13, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2022

CT Test Results

       4 files     199 suites   1h 13m 36s ⏱️
3 068 tests 2 973 ✔️   93 💤 2
3 675 runs  3 560 ✔️ 113 💤 2

For more details on these failures, see this check.

Results for commit 423690d.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@sverker sverker merged commit c486abf into erlang:maint Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant