1. 26 Mar, 2018 2 commits
    • Monty's avatar
      Adjust table_open_cache to avoid getting error 24 (too many open files) · ca0c96fc
      Monty authored
      MDEV--15609 engines/funcs.crash_manytables_number crashes with error 24
                 (too many open files)
      MDEV-10286  Adjustment of table_open_cache according to system limits
                  does not work when open-files-limit option is provided
      
      Fixed by adjusting tc_size downwards if there is not enough file
      descriptors to use.
      
      Other changes:
      - Ensure that there is 30 (was 10) extra file descriptors for other usage
      - Decrease TABLE_OPEN_CACHE_MIN to 200 as it's better to have a smaller
        table cache than getting error 24
      - Increase minimum of max_connections and table_open_cache from 1 to 10
        as 1 is not usable for any real application, only for testing.
      ca0c96fc
    • Elena Stepanova's avatar
      4d83b015
  2. 24 Mar, 2018 3 commits
  3. 23 Mar, 2018 7 commits
  4. 22 Mar, 2018 14 commits
  5. 21 Mar, 2018 8 commits
  6. 20 Mar, 2018 6 commits
    • Marko Mäkelä's avatar
      Merge 10.0 into 10.1 · 613be24b
      Marko Mäkelä authored
      613be24b
    • Marko Mäkelä's avatar
      Merge 5.5 into 10.0 · 04921000
      Marko Mäkelä authored
      04921000
    • Marko Mäkelä's avatar
      PR #666: MDEV-15030 Add ASAN instrumentation · 69bc3c19
      Marko Mäkelä authored
      mem_heap_create_block(): Poison the payload area until
      mem_heap_alloc() unpoisons it.
      69bc3c19
    • Marko Mäkelä's avatar
      MDEV-12396 IMPORT TABLESPACE: Do not retry partial reads · e0a0fe7d
      Marko Mäkelä authored
      fil_iterate(), fil_tablespace_iterate(): Replace os_file_read()
      with os_file_read_no_error_handling().
      
      os_file_read_func(), os_file_read_no_error_handling_func():
      Do not retry partial reads. There used to be an infinite amount
      of retries. Because InnoDB extends both data and log files upfront,
      partial reads should be impossible during normal operation.
      e0a0fe7d
    • Marko Mäkelä's avatar
      MDEV-12396 IMPORT cleanup: ROW_FORMAT=COMPRESSED · a80af35a
      Marko Mäkelä authored
      Initialize block.page.zip only once.
      
      PageConverter::update(): Initialize m_page_zip_ptr
      as late as possible.
      (We should really remove it at some point.)
      
      PageConverter::operator(): Refer to block->page.zip instead of
      m_page_zip_ptr.
      
      AbstractCallback::get_frame(): Define static. Refer
      to block->page.zip.data directly.
      
      fil_iterate(): Refer to block->page.zip.data directly.
      
      fil_tablespace_iterate(): Initialize block.page.zip.data as soon
      as possible.
      a80af35a
    • Marko Mäkelä's avatar
      MDEV-12396 IMPORT TABLESPACE: Simplify validation · eaa7bfb5
      Marko Mäkelä authored
      fil_iterate(): Validate the pages directly.
      
      import_page_status_t, PageConverter::validate(): Remove.
      
      AbstractCallback::filename(): New accessor.
      
      AbstractCallback::is_interrupted(): Replaces periodic_check().
      
      PageConverter::trigger_corruption(): Remove.
      eaa7bfb5