diff --git a/rdsn b/rdsn index 18120226e6..91f9f4e4dc 160000 --- a/rdsn +++ b/rdsn @@ -1 +1 @@ -Subproject commit 18120226e6123fbf2ed744cc580e914be6171f85 +Subproject commit 91f9f4e4dc15f80de628820acf994f74a295ffee diff --git a/src/server/hotkey_collector.cpp b/src/server/hotkey_collector.cpp index 4c882f42bc..c47531405c 100644 --- a/src/server/hotkey_collector.cpp +++ b/src/server/hotkey_collector.cpp @@ -88,9 +88,7 @@ find_outlier_index(const std::vector &captured_keys, int threshold, in } standard_deviation = sqrt(standard_deviation / (data_size - 2)); double hot_point = (hot_value - captured_keys_avg_count) / standard_deviation; - detect_hotkey_result result; if (hot_point >= threshold) { - result.coarse_bucket_index = hot_index; return true; } else { hot_index = -1;