We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8aa812 commit 7485398Copy full SHA for 7485398
storage/innobase/buf/buf0flu.cc
@@ -57,7 +57,7 @@ ulint buf_lru_freed_page_count;
57
ulint buf_flush_page_count;
58
59
/** Flag indicating if the page_cleaner is in active state. */
60
-bool buf_page_cleaner_is_active;
+Atomic_relaxed<bool> buf_page_cleaner_is_active;
61
62
/** Factor for scan length to determine n_pages for intended oldest LSN
63
progress */
storage/innobase/include/buf0flu.h
@@ -40,7 +40,7 @@ extern ulint buf_lru_flush_page_count;
40
extern ulint buf_lru_freed_page_count;
41
42
43
-extern bool buf_page_cleaner_is_active;
+extern Atomic_relaxed<bool> buf_page_cleaner_is_active;
44
45
#ifdef UNIV_DEBUG
46
0 commit comments