~laurynas-biveinis/percona-server/bug1036530

Viewing all changes in revision 459.

  • Committer: Laurynas Biveinis
  • Date: 2012-08-14 08:59:58 UTC
  • Revision ID: laurynas.biveinis@percona.com-20120814085958-jjh6dnerm8hfqszu
Fix bug 1036530 (Sporadic innodb_plugin.percona_changed_page_bmp
failures in Jenkins).

The problem was flawed and unfinished crash injection testing in the
test case: the last server restart set up a crash injection before the
bitmap write but failed to actually trigger it in the test case.  Then
the crash used to get triggered during the server shutdown bitmap
write and thus silently ignored by MTR.  But sometimes the bitmap
write would happen while the server processes DROP TABLE command,
appearing as an unexpected server crash to MTR.

Fixed by triggering the crash site in the test case, waiting for the
server to come back again before starting the testsuite cleanups.

Additionally put extra workload on the server before this test case
part to have some good data pages in the bitmap file.  Also added
comments to the test cace points where the LSN tracking range
contuinity will have to be tested once the necessary info is exposed
through INFORMATION_SCHEMA.

Re-recorded the testcase.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: