Comments (2)
Thank you for the quick response. I believe that you are right, if those mechanisms were in place this would not be an issue.
from recipe.
That depends how you implement post-crash mechanisms before we resume threads after a crash to the index. Although we don't provide detailed post-crash mechanisms, what if we make the post-crash mechanisms set entries in clht_t
to the initialized values (e.g. ht_oldest = NULL) before returning it to threads? In this case, double-free will not happen, but memory leak may occur. However, as we assume GC-supported memory allocator, the old hash table should be reclaimed by the allocator eventually. Please let me know how you think.
from recipe.
Related Issues (14)
- P-Masstree not Working Correctly with String Keys HOT 10
- some questions about the usage of Optane DC HOT 1
- Segmentation fault in ycsb HOT 3
- Port RECIPE data structures to libpmem HOT 2
- Segmentation fault on YCSB with CLHT, after using libvmmalloc HOT 9
- some questions about CLFLUSH_OPT/CLWB HOT 4
- Is there any plan on supporting the iterator for masstree? HOT 2
- Read committed
- Search non-existing keys in P-Masstree HOT 2
- FAST_FAIR Range Bug HOT 4
- Crash consistency bug in clht_gc_free HOT 2
- Crash consistency issue after acquiring bucket locks HOT 3
- Scalability Issues in Optane HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipe.