1. 23 Oct, 2017 2 commits
  2. 20 Oct, 2017 2 commits
  3. 18 Oct, 2017 10 commits
  4. 17 Oct, 2017 2 commits
  5. 14 Oct, 2017 1 commit
    • Marko Mäkelä's avatar
      MDEV-14055 Assertion `page_rec_is_leaf(rec)' failed in lock_rec_validate_page · ad46ce65
      Marko Mäkelä authored
      This was a false alarm in a debug check that was introduced in
      commit 48192f96 which was a
      10.2 code refactoring in preparation for
      MDEV-11369 (instant ADD COLUMN) in 10.3.2. The code refactoring
      only affected debug builds.
      
      InnoDB B-tree record locks are only supposed to exist on leaf page
      records. An assertion failed, because the debug function lock_validate()
      was invoking lock_rec_block_validate() on a page for which there were
      no locks set in the record lock bitmap. This could happen on a page split.
      Especially when the index size grows from a single page to multiple pages,
      the root page would transform from a leaf node into an internal node,
      and its record lock bitmap would be emptied.
      
      lock_validate(): Skip empty lock bitmaps.
      ad46ce65
  6. 13 Oct, 2017 4 commits
  7. 12 Oct, 2017 1 commit
    • Jan Lindström's avatar
      MDEV-11336: Enable defragmentation on 10.2 when tests pass · a4fa940b
      Jan Lindström authored
      Problem was that we could take page latches on different
      order than wat is entitled with SX-lock. To follow the
      latching order defined in WL#6326, acquire index->lock X-latch.
      This entitles us to acquire page latches in any order for the index.
      
      btr0btr.cc
      	Document latch rules before and after MariaDB 10.2.2
      
      sync0rw.cc
      	Document latch compatibility rules better.
      
      btr_defragment_merge_pages
      	Fix parameter value.
      
      btr_defragment_thread
      	Acquire X-lock to dict_index_t::lock before restoring
      	cursor position and continuing defragmentation.
      
      ha_innobase::optimize
      	Restore defragment feature.
      
      Testing
      	Add GIS-index and FT-index to table being defragmented.
      
      	Defragmentation is not done to GIS-indexes and FT auxiliary
      	tables.
      a4fa940b
  8. 11 Oct, 2017 12 commits
  9. 10 Oct, 2017 6 commits