- 07 May, 2018 1 commit
-
-
Sergei Petrunia authored
In reverse-ordered column families, if one wants to start reading at the logical end of the index, they should Seek() to a key value that is not covered by the index. This may (and typically does) prevent use of a bloom filter. The calls to setup_scan_iterator() that are made for index and table scan didn't take this into account and passed eq_cond_len=INDEX_NUMBER_SIZE. Fixed them to compute and pass correct eq_cond_len. Also, removed an incorrect assert in ha_rocksdb::setup_iterator_bounds.
-
- 19 Apr, 2018 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
"The Store binlog position inside RocksDB" feature is only needed for obtaining binlog position after having restored a MyRocks backup. This is not yet supported in MariaDB, so properly disable it in both places where it is done.
-
- 17 Apr, 2018 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
rocksdb_aux_lib.lib(rdb_sst_info.obj) : error LNK2001: unresolved external symbol PSI_server [D:\winx64-packages\build\storage\rocksdb\rocksdb.vcxproj] rocksdb_aux_lib is an utility library used by standalone tools. These won't have PSI_server. FIxed by moving rdb_sst_info.* out of the library (as they do not seem to be used by these standalone tools)
-
- 16 Apr, 2018 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Include files that upstream has in mysql-test/include and so they were not picked up by the merge process
-
- 15 Apr, 2018 4 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
- 13 Apr, 2018 1 commit
-
-
Sergei Petrunia authored
-
- 12 Apr, 2018 2 commits
-
-
Sergei Petrunia authored
In the upstream include/search_pattern_in_file.inc prints nothing when it has found the searched string (if it hasn't, it produces an error) In MariaDB, it prints "FOUND n ..."
-
Sergei Petrunia authored
Commit being reverted is: commit 689168be Author: Vladislav Vaintroub <wlad@mariadb.com> Date: Thu Nov 16 18:57:18 2017 +0000 MDEV-13852 - redefine WinWriteableFile such as IsSyncThreadSafe() is set to true, as it should. Copy and modify original io_win.h header file to a different location (as we cannot patch anything in submodule). Make sure modified header is used.
-
- 11 Apr, 2018 1 commit
-
-
Sergei Petrunia authored
- Test result updates
-
- 09 Apr, 2018 2 commits
-
-
Sergei Petrunia authored
This is Variant#2. - Undo Variant#1 - Instead, swap the range bounds if we are doing a reverse-ordered scan.
-
Sergei Petrunia authored
-
- 08 Apr, 2018 1 commit
-
-
Sergei Petrunia authored
-
- 08 Feb, 2018 1 commit
-
-
Varun Gupta authored
rocksdb_set_update_cf_options functions was freeing a pointer which it should not.
-
- 01 Feb, 2018 3 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
- 31 Jan, 2018 1 commit
-
-
Sergei Petrunia authored
-
- 30 Jan, 2018 1 commit
-
-
Sergei Petrunia authored
-
- 29 Jan, 2018 1 commit
-
-
Sergei Petrunia authored
- Fix rocksdb.rocksdb test - Update rocksdb.autoinc_crash_safe_partition* tests
-
- 27 Jan, 2018 2 commits
-
-
Sergei Petrunia authored
commit 445e518b Author: Sergei Petrunia <psergey@askmonty.org> Date: Sat Jan 27 10:18:20 2018 +0000 Copy of commit f8f364b47f2784f16b401f27658f1c16eaf348ec Author: Jay Edgar <jkedgar@fb.com> Date: Tue Oct 17 15:19:31 2017 -0700 Add a hashed, hierarchical, wheel timer implementation Summary: In order to implement idle timeouts on detached sessions we need something inside MySQL that is lightweight and can handle calling events in the future wi By default the timers are grouped into 10ms buckets (the 'hashed' part), though the size of the buckets is configurable at the creation of the timer. Eac Reviewed By: djwatson Differential Revision: D6199806 fbshipit-source-id: 5e1590f
-
Sergei Petrunia authored
commit f8f364b47f2784f16b401f27658f1c16eaf348ec Author: Jay Edgar <jkedgar@fb.com> Date: Tue Oct 17 15:19:31 2017 -0700 Add a hashed, hierarchical, wheel timer implementation Summary: In order to implement idle timeouts on detached sessions we need something inside MySQL that is lightweight and can handle calling events in the future with very little cost for cancelling or resetting the event. A hashed, hi By default the timers are grouped into 10ms buckets (the 'hashed' part), though the size of the buckets is configurable at the creation of the timer. Each wheel (the 'wheel' part) maintains 256 buckets and cascades to the whe Reviewed By: djwatson Differential Revision: D6199806 fbshipit-source-id: 5e1590f
-
- 12 Jan, 2018 3 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
- Make Rdb_binlog_manager::unpack_value to not have a stack overrun when it is reading invalid data (which it currently does as we in MariaDB do not store binlog coordinates under BINLOG_INFO_INDEX_NUMBER, see comments in MDEV-14892 for details). - We may need to store these coordinates in the future, so instead of removing the call of this function, let's make it work properly for all possible inputs.
-
- 11 Jan, 2018 7 commits
-
-
Monty authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
The warning was originally added in commit c6766305 (MySQL 4.1.12, 5.0.3) to trace claimed undo log corruption that was analyzed in https://lists.mysql.com/mysql/176250 on November 9, 2004. Originally, the limit was 20,000 undo log headers or transactions, but in commit 9d6d1902 in MySQL 5.5.11 it was increased to 2,000,000. The message can be triggered when the progress of purge is prevented by a long-running transaction (or just an idle transaction whose read view was started a long time ago), by running many transactions that UPDATE or DELETE some records, then starting another transaction with a read view, and finally by executing more than 2,000,000 transactions that UPDATE or DELETE records in InnoDB tables. Finally, when the oldest long-running transaction is completed, purge would run up to the next-oldest transaction, and there would still be more than 2,000,000 transactions to purge. Because the message can be triggered when the database is obviously not corrupted, it should be removed. Heavy users of InnoDB should be monitoring the "History list length" in SHOW ENGINE INNODB STATUS; there is no need to spam the error log.
-
- 10 Jan, 2018 3 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Monty authored
- Skip 'clean' if not a git repository (Good for tar files) - Add configuration for ASAN builds
-