Skip to content
Permalink
Browse files
MDEV-15528 fixup: Remove references to background scrubbing
  • Loading branch information
dr-m committed May 18, 2021
1 parent 7b51d11 commit 895c126
Showing 1 changed file with 0 additions and 16 deletions.
@@ -2262,22 +2262,6 @@ struct dict_table_t {
detect this and will eventually quit sooner. */
#define BG_STAT_SHOULD_QUIT (1 << 1)

/** The state of the background stats thread wrt this table.
See BG_STAT_NONE, BG_STAT_IN_PROGRESS and BG_STAT_SHOULD_QUIT.
Writes are covered by dict_sys.mutex. Dirty reads are possible. */

#define BG_SCRUB_IN_PROGRESS ((byte)(1 << 2))
/*!< BG_SCRUB_IN_PROGRESS is set in
stats_bg_flag when the background
scrub code is working on this table. The DROP
TABLE code waits for this to be cleared
before proceeding. */

#define BG_STAT_SHOULD_QUIT (1 << 1)

#define BG_IN_PROGRESS (BG_STAT_IN_PROGRESS | BG_SCRUB_IN_PROGRESS)


/** The state of the background stats thread wrt this table.
See BG_STAT_NONE, BG_STAT_IN_PROGRESS and BG_STAT_SHOULD_QUIT.
Writes are covered by dict_sys.mutex. Dirty reads are possible. */

0 comments on commit 895c126

Please sign in to comment.