SPARK-2024 Fix crash in md race
This commit is contained in:
1 parent
8efd12588c
commit
7a7c1dcd89
1 file changed
+2
-2
@@ -170,7 +170,7 @@ public:
|
||||
if (_hot_depth) {
|
||||
_hot_depth->all_entries([&](const HotDepthEntry& entry) {
|
||||
auto iter = handles.find(entry.key);
|
||||
if (iter != handles.end()) {
|
||||
if (iter != handles.end() && iter->second.is_initialized()) {
|
||||
iter->second.set_hot(&entry);
|
||||
}
|
||||
});
|
||||
@@ -178,7 +178,7 @@ public:
|
||||
else if (_hot){
|
||||
_hot->all_entries([&](const HotEntry& entry) {
|
||||
auto iter = handles.find(entry.key);
|
||||
if (iter != handles.end()) {
|
||||
if (iter != handles.end() && iter->second.is_initialized()) {
|
||||
iter->second.set_hot(&entry);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user