Merged in SPARK-2024-mdconsumersearch_handles (pull request #164)

RTM: SPARK-2024 Fix crash in md race
This commit is contained in:
Eric Harding authored and Pedro Pinto committed 2019-02-19 18:49:04 +00:00
commit 75da657ed3
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ insert_anchor_links = "right"
- Improved robustness of limit system test
- Fixed a bug in handling of built-in bts to user that could lead to failure to login as bts in old systems
- Improved market data subsystem to support security definition updates
- Fixed a startup race in market data that could lead to data corruption on startup
## 1.4.11
+2 -2
View File
@@ -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);
}
});