Skip to content
Permalink
Browse files

MDEV-11626 innodb.innodb-change-buffer-recovery fails for xtradb

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 2cb94aa1b70fa01d9e5c1d8a7625415a0220a3d9
Showing with 0 additions and 12 deletions.
  1. +0 −6 storage/innobase/buf/buf0buf.c
  2. +0 −6 storage/xtradb/buf/buf0buf.c
@@ -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;
}
@@ -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)
@@ -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;
}

0 comments on commit 2cb94aa

Please sign in to comment.
You can’t perform that action at this time.