1. 20 Sep, 2016 1 commit
    • Vicențiu Ciorbaru's avatar
      Fix tokudb jemalloc linking · 83d5b963
      Vicențiu Ciorbaru authored
      Linking tokudb with jemalloc privately causes problems on library
      load/unload. To prevent dangling destructor pointers, link with the same
      library as the server is using.
      83d5b963
  2. 19 Sep, 2016 1 commit
  3. 13 Sep, 2016 1 commit
  4. 11 Sep, 2016 1 commit
  5. 10 Sep, 2016 2 commits
  6. 06 Sep, 2016 1 commit
  7. 05 Sep, 2016 1 commit
  8. 29 Aug, 2016 1 commit
  9. 25 Aug, 2016 1 commit
  10. 24 Aug, 2016 1 commit
  11. 23 Aug, 2016 3 commits
  12. 22 Aug, 2016 2 commits
    • Monty's avatar
      Minor cleanups · a5051cd3
      Monty authored
      - Remove impossible test in test_quick_select
      - Ensure that is_fatal_error is set if we run out of stack space
      a5051cd3
    • Monty's avatar
      MDEV-10630 rpl.rpl_mdev6020 fails in buildbot with timeout · b5110969
      Monty authored
      The issue was that when running with valgrind the wait for master_pos_Wait()
      was not long enough.
      
      This patch also fixes two other failures that could affect rpl_mdev6020:
      - check_if_conflicting_replication_locks() didn't properly check domains
      - 'did_mark_start_commit' was after signals to other threads was sent which could
        get the variable read too early.
      b5110969
  13. 21 Aug, 2016 3 commits
    • Monty's avatar
      Fixed "Packets out of order" warning message on stdout in clients, · 5932fa78
      Monty authored
      compiled for debugging, when the server goes down
      
      This happens in the following scenario:
      - Server gets a shutdown message
      - Servers sends error ER_CONNECTION_KILLED to the clients connection
      - The client sends a query to the server, before the server has time to
        close the connection to the client
      - Client reads the ER_CONNECTION_KILLED error message
      
      In the above case, the packet number for the reply is one less than
      what the client expected and the client prints "Packets out of order".
      
      Fixed the following way:
      - The client accepts now error packages with a packet number
        one less than expected.
      - To ensure that this issue can be detected early in my_real_read(), error
        messages sent to the client are not compressed, even when compressed protocol is used.
      5932fa78
    • Monty's avatar
      Added new status variables to make it easier to debug certain problems: · 6f31dd09
      Monty authored
      - Handler_read_retry
      - Update_scan
      - Delete_scan
      6f31dd09
    • Monty's avatar
      Cleanups and minor fixes · 8d5a0d65
      Monty authored
      - Fixed typos
      - Added --core-on-failure to mysql-test-run
      - More DBUG_PRINT in viosocket.c
      - Don't forget CLIENT_REMEMBER_OPTIONS for compressed slave protocol
      - Removed not used stage variables
      8d5a0d65
  14. 16 Aug, 2016 1 commit
  15. 15 Aug, 2016 1 commit
  16. 14 Aug, 2016 1 commit
  17. 13 Aug, 2016 3 commits
  18. 12 Aug, 2016 1 commit
    • Monty's avatar
      With parallel replication we have had a couple of bugs where DDL's · 98e36b29
      Monty authored
      (like DROP TABLE) has been scheduled before conflicting DDL's (like INSERT)
      are commited.
      
      What makes these bugs hard to detect is that in most cases any wrong
      schduling are caught by MDL locks. It's only when there are timing issues
      that the bugs (usually deadlocks) are noticed.
      
      This patch adds a DBUG_ASSERT() that detects, in parallel replication,
      if a DDL is scheduled before any depending DML'S are commited.
      It does this be checking if there are any conflicting replication locks
      when the DDL is about to wait for getting it's MDL lock.
      
      I also did some minor code cleanups in sql_base.cc to make this code
      similar to other related code.
      98e36b29
  19. 11 Aug, 2016 1 commit
  20. 10 Aug, 2016 12 commits
  21. 09 Aug, 2016 1 commit
    • Vicențiu Ciorbaru's avatar
      MDEV-10341: InnoDB: Failing assertion: mutex_own(mutex) - mutex_exit_func · 5ad02062
      Vicențiu Ciorbaru authored
      Fix memory barrier issues on releasing mutexes. We must have a full
      memory barrier between releasing a mutex lock and reading its waiters.
      This prevents us from missing to release waiters due to reading the
      number of waiters speculatively before releasing the lock. If threads
      try and wait between us reading the waiters count and releasing the
      lock, those threads might stall indefinitely.
      
      Also, we must use proper ACQUIRE/RELEASE semantics for atomic
      operations, not ACQUIRE/ACQUIRE.
      5ad02062