Skip to content

Commit

Permalink
MDEV-11626 innodb.innodb-change-buffer-recovery fails for xtradb
Browse files Browse the repository at this point in the history
buf_page_get_gen(): Remove the error log messages about
page flushing and eviction when
innodb_change_buffering_debug=1 is in effect.
  • Loading branch information
dr-m committed May 29, 2017
1 parent b8405c8 commit 2cb94aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions storage/innobase/buf/buf0buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2560,14 +2560,8 @@ buf_page_get_gen(
}
}
buf_pool_mutex_exit(buf_pool);
fprintf(stderr,
"innodb_change_buffering_debug evict %u %u\n",
(unsigned) space, (unsigned) offset);
return(NULL);
} else if (buf_flush_page_try(buf_pool, block)) {
fprintf(stderr,
"innodb_change_buffering_debug flush %u %u\n",
(unsigned) space, (unsigned) offset);
guess = block;
goto loop;
}
Expand Down
6 changes: 0 additions & 6 deletions storage/xtradb/buf/buf0buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2852,9 +2852,6 @@ buf_page_get_gen(
}
}
//buf_pool_mutex_exit(buf_pool);
fprintf(stderr,
"innodb_change_buffering_debug evict %u %u\n",
(unsigned) space, (unsigned) offset);

return(NULL);
} else if (UNIV_UNLIKELY(buf_block_get_state(block)
Expand All @@ -2875,9 +2872,6 @@ buf_page_get_gen(
ut_ad(!mutex_own(&buf_pool->LRU_list_mutex));

if (buf_flush_page_try(buf_pool, block)) {
fprintf(stderr,
"innodb_change_buffering_debug flush %u %u\n",
(unsigned) space, (unsigned) offset);
guess = block;
goto loop;
}
Expand Down

0 comments on commit 2cb94aa

Please sign in to comment.