diff options
author | Sverker Eriksson <[email protected]> | 2014-04-29 15:24:41 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-04-29 15:24:41 +0200 |
commit | a652d1d882d6f4ddb46a23bf550cb8d12e403e8c (patch) | |
tree | f5681d60be14598e626e19132b92086fd68dab51 /prebuild.delete | |
parent | 824dea7e53116af0ff722aaf2f9b21f564b3bfd2 (diff) | |
download | otp-a652d1d882d6f4ddb46a23bf550cb8d12e403e8c.tar.gz otp-a652d1d882d6f4ddb46a23bf550cb8d12e403e8c.tar.bz2 otp-a652d1d882d6f4ddb46a23bf550cb8d12e403e8c.zip |
Fix race between ETS table deletion and unfixation
Symptom: VM crash running mnesia_SUITE
Scenario: Process A terminates while still having fixed table T
and process B "at the same time" deletes table T with ets:delete/1 or
by terminating.
Problem: A table scheduled for deallocation do only have a valid
'common' part. The unfix-table-at-process-exit code tried to read the
hash-specific part of such a table.
Solution: Must back off if DB_DELETE flag is set.
Since: R16B
Diffstat (limited to 'prebuild.delete')
0 files changed, 0 insertions, 0 deletions