lp:~laurynas-biveinis/percona-server/BT-16724-xtradb-bmp-requests-5.1

Created by Laurynas Biveinis on 2012-11-12 and last modified on 2013-01-22
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/BT-16724-xtradb-bmp-requests-5.1
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

519. By Laurynas Biveinis on 2013-01-22

Implement user requests for the XtraDB changed page bitmaps.

Blueprint:
https://blueprints.launchpad.net/percona-server/+spec/xtradb-bitmap-user-requests

Server changes:
- sql/lex.h: new lexical symbol CHANGED_PAGE_BITMAPS_SYM.

- sql/sql_yacc.yy: new lexical symbol CHANGED_PAGE_BITMAPS_SYM. Add
  "CHANGED_PAGE_BITMAPS" syntax options for FLUSH and RESET,
  "CHANGED_PAGE_BITMAPS BEFORE <ulonglong value>" for PURGE.

- sql/sql_parse.cc: extend SQLCOM_PURGE handling with lex->type ==
  PURGE_BITMAPS_TO_LSN handling. Handle REFRESH_FLUSH_PAGE_BITMAPS
  and REFRESH_RESET_PAGE_BITMAPS in reload_acl_and_cache().

- include/mysql_com.h: define two new options,
  REFRESH_FLUSH_PAGE_BITMAPS for the FLUSH command and
  REFRESH_RESET_PAGE_BITMAPS for the RESET command.

- include/mysql_com.h Define PURGE command option
  PURGE_BITMAPS_TO_LSN.

- sql/handler.h: new handlerton function pointers
  flush_changed_page_bitmaps and purge_changed_page_bitmaps. New
  functions

- sql/handler.cc: new functions flush_changed_page_bitmaps_handlerton,
  ha_flush_changed_page_bitmaps,
  purge_changed_page_bitmaps_handlerton,
  ha_purge_changed_page_bitmaps.

XtraDB changes:
- handler/ha_innodb.cc: new functions
  innobase_flush_changed_page_bitmaps,
  innobase_purge_changed_page_bitmaps.

- include/log0online.h: new function
  log_online_purge_changed_page_bitmap. In function declarations
  replace all empty parameter lists with void.

- include/sync0sync.h: new latching order level SYNC_LOG_ONLINE.

- log/log0online.c: add mutex field to log_bitmap_struct. Create it
  at log_online_read_init, destroy at
  log_online_read_shutdown. To serialize the user requests with
  asynchronous processing, acquire it at log_online_follow_redo_log.
  Assert that it is taken at the following functions that may be
  called only during online tracking: log_online_parse_redo_log,
  log_online_add_to_parse_buf, log_online_parse_redo_log_block,
  log_online_follow_log_seg, log_online_follow_log_group,
  log_online_write_bitmap_page, log_online_write_bitmap.
  New function log_online_purge_changed_page_bitmaps.
  In log_online_read_init replace ut_a with compile_time_assert.

Test suite changes:
- New test case percona_changed_page_bmp_requests.

- Replace include/delete_innodb_bitmaps.inc by FLUSH/RESET invocation
  in other changed page bitmap test cases.

518. By <email address hidden> on 2013-01-21

Merge lp:~laurynas-biveinis/percona-server/bug110159-5.1

517. By <email address hidden> on 2013-01-19

Merge lp:~sergei.glushchenko/percona-server/51-ST-27220-bug1042946

516. By <email address hidden> on 2013-01-18

Merge lp:~hrvojem/percona-server/rn-5.1.67-14.3

515. By Stewart Smith on 2013-01-18

merge 5.1.66-14.2 release branch

514. By <email address hidden> on 2013-01-17

Merge lp:~percona-core/percona-server/release-5.1.66-14.1

513. By <email address hidden> on 2013-01-17

Merge lp:~hrvojem/percona-server/bug1092106-5.1

512. By <email address hidden> on 2013-01-09

Merge lp:~hrvojem/percona-server/rn-5.1.66-14.2-r2

511. By <email address hidden> on 2013-01-08

Merge lp:~laurynas-biveinis/percona-server/BT-16274-bug1087202-1087218-5.1

510. By <email address hidden> on 2013-01-03

Merge lp:~vlad-lesin/percona-server/5.1-bug1049871-injections-gca

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-server/5.5
This branch contains Public information 
Everyone can see this information.