From 9ad598c746a61097bbf701318bb468fe5f64b4da Mon Sep 17 00:00:00 2001 From: JaySon-Huang Date: Wed, 3 Apr 2024 16:50:22 +0800 Subject: [PATCH] Resolve conflict --- dbms/src/Storages/KVStore/Read/LearnerRead.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/KVStore/Read/LearnerRead.cpp b/dbms/src/Storages/KVStore/Read/LearnerRead.cpp index 6fb18979698..672f5d5a668 100644 --- a/dbms/src/Storages/KVStore/Read/LearnerRead.cpp +++ b/dbms/src/Storages/KVStore/Read/LearnerRead.cpp @@ -565,7 +565,7 @@ LearnerReadSnapshot doLearnerRead( if (auto * dag_context = context.getDAGContext()) { - mvcc_query_info.scan_context->num_stale_read = worker.getStats().num_stale_read; + mvcc_query_info->scan_context->num_stale_read = stats.num_stale_read; dag_context->has_read_wait_index = true; dag_context->read_wait_index_start_timestamp = start_time; dag_context->read_wait_index_end_timestamp = end_time;