forked from redis/redis
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Lines 4015 to 4019 in 4e622e7
| if (server.pm_pool == NULL) { | |
| /* Open the existing PMEM pool file. */ | |
| server.pm_pool = pmemobj_open(server.pm_file_path, PM_LAYOUT_NAME); | |
| server.pm_rootoid = POBJ_ROOT(server.pm_pool, struct redis_pmem_root); | |
| server.pm_reconstruct_required = true; |
- If the pool is corrupted or is otherwise unopenable, pmemobj_open(...) will return NULL, causing a SEGFAULT during initialization (i.e., at POBJ_ROOT).
Metadata
Metadata
Assignees
Labels
No labels