1. 08 Aug, 2019 4 commits
  2. 07 Aug, 2019 1 commit
    • Vlad Lesin's avatar
      MDEV-20060: Failing assertion: srv_log_file_size <= 512ULL << 30 while preparing backup · d39d5dd2
      Vlad Lesin authored
      The general reason why innodb redo log file is limited by 512G is that
      log_block_convert_lsn_to_no() returns value limited by 1G. But there is no
      need to have unique log block numbers in log group. The fix removes 512G
      limit and limits log group size by
      (uint32_t maximum value) * (minimum page size), which, in turns, can be
      removed if fil_io() is no longer used for innodb redo log io.
      d39d5dd2
  3. 06 Aug, 2019 1 commit
  4. 05 Aug, 2019 2 commits
  5. 04 Aug, 2019 2 commits
    • Sergei Petrunia's avatar
      MDEV-20227: rocksdb.rocksdb_concurrent_delete fails on windows · 988ff902
      Sergei Petrunia authored
      A combination of:
      * lots of include'd test files where each has "--source
        include/have_rocksdb.inc"
      * for each such occurrence, MTR adds testsuite's arguments into server
        arguments
      * which hits some limit on the length of argv array on Windows, causing
        the server to get garbage data in the last argument.
      
      Work around this by commenting out one of the totally redundant
      "source include/have_rocksdb.inc" lines.
      988ff902
    • Sergei Petrunia's avatar
      Post-merge fixes for rocksdb.group_min_max test · 09a85692
      Sergei Petrunia authored
      - Fix the LooseScan code to support storage engines that return
        HA_ERR_END_OF_FILE if the index scan goes out of provided range
        bounds
      - Add a DBUG_EXECUTE_IF("force_group_by",...) to allow a test to
        force a LooseScan
      - Adjust rocksdb.group_min_max test not to use features not present
        in MariaDB 10.2 (e.g. optimizer_trace.  In MariaDB 10.4 it's present
        but it doesn't meet the  assumptions that the test makes about it
      - Adjust the test result file:
        = MariaDB doesn't support "Enhanced Loose Scan" that FB/MySQL has
        = MariaDB has different cost calculations.
      09a85692
  6. 31 Jul, 2019 1 commit
  7. 26 Jul, 2019 8 commits
  8. 25 Jul, 2019 14 commits
  9. 24 Jul, 2019 7 commits
    • Marko Mäkelä's avatar
      0c7c6101
    • Marko Mäkelä's avatar
      MDEV-14154: Failing assertion: slot->last_run <= current_time in fts0opt.cc · c663a941
      Marko Mäkelä authored
      The FTS optimizer thread made a false assumption that time(NULL)
      is monotonic. The system clock can be adjusted to the past,
      for example if the hardware clock was drifting to the future,
      and it was adjusted by NTP.
      
      fts_slot_t::interval_time: Replace with the constant
      FTS_OPTIMIZE_INTERVAL_IN_SECS.
      
      fts_slot_t::last_run, fts_slot_t::completed: Clarify the
      documentation.
      
      fts_optimize_get_time_limit(): Remove a type cast, and
      add a FIXME comment about domain mismatch.
      
      fts_optimize_compact(), fts_optimize_words(): Limit the time
      also when the current time has been moved to the past.
      
      fts_optimize_table_bk(): Check for wrap-around.
      
      fts_optimize_how_many(): Check for wrap-around, and remove the
      failing assertions.
      
      fts_is_sync_needed(): Remove a redundant call to time(NULL).
      c663a941
    • Marko Mäkelä's avatar
      Reduce the amount of time(NULL) calls for lock processing · 9e5df967
      Marko Mäkelä authored
      lock_t::requested_time: Document what the field is used for.
      
      lock_t::wait_time: Document that the field is only used for
      diagnostics and may be garbage if the system time is being adjusted.
      
      srv_slot_t::suspend_time: Document that this is duplicating
      trx_lock_t::wait_started.
      
      lock_table_print(), lock_rec_print(): Declare in static scope.
      Add a parameter for the current time.
      
      lock_deadlock_check_and_resolve(), lock_deadlock_lock_print(),
      lock_deadlock_joining_trx_print():
      Add a parameter for the current time.
      9e5df967
    • Marko Mäkelä's avatar
      MDEV-14154: Document some time_t fields better · 2b5bc761
      Marko Mäkelä authored
      srv_slot_t::suspend_time, os_aio_slot_t::reservation_time,
      sync_cell_t::reservation_time: Explain what could happen
      if the system time has is being adjusted.
      
      fts_sync_t::start_time: Document that the field is mostly unused.
      2b5bc761
    • Marko Mäkelä's avatar
      Always initialize trx_t::start_time_micro · 10727b69
      Marko Mäkelä authored
      This affects the function has_higher_priority() for internal or
      recovered transactions.
      10727b69
    • Marko Mäkelä's avatar
      Remove ut_usectime(), ut_gettimeofday() · 10ee1b95
      Marko Mäkelä authored
      Replace ut_usectime() with my_interval_timer(),
      which is equivalent, but monotonically counting nanoseconds
      instead of counting the microseconds of real time.
      
      os_event_wait_time_low(): Use my_hrtime() instead of ut_usectime().
      
      FIXME: Set a clock attribute on the condition variable that allows
      a monotonic clock to be chosen as the time base, so that the wait
      is immune to adjustments of the system clock.
      10ee1b95
    • Marko Mäkelä's avatar
      Correct the type of a parameter · e764d5bc
      Marko Mäkelä authored
      e764d5bc