Always overwrite m_is_core_node on data swap
This fixes a seg fault when swapping between core/no core datasets
This commit is contained in:
parent
c5e85f3d6d
commit
da9d63a384
@ -276,11 +276,6 @@ class SharedDataFacade final : public BaseDataFacade
|
|||||||
|
|
||||||
void LoadCoreInformation()
|
void LoadCoreInformation()
|
||||||
{
|
{
|
||||||
if (data_layout->num_entries[storage::SharedDataLayout::CORE_MARKER] <= 0)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto core_marker_ptr = data_layout->GetBlockPtr<unsigned>(
|
auto core_marker_ptr = data_layout->GetBlockPtr<unsigned>(
|
||||||
shared_memory, storage::SharedDataLayout::CORE_MARKER);
|
shared_memory, storage::SharedDataLayout::CORE_MARKER);
|
||||||
util::ShM<bool, true>::vector is_core_node(
|
util::ShM<bool, true>::vector is_core_node(
|
||||||
|
Loading…
Reference in New Issue
Block a user