~/env1/_depot/m-branch/m2-10.2-bld/mysql-test$ ./mtr bulk_load --suite=rocksdb --mysqld=--open-files-limit=60
|
Logging: /home/a/env1/m2-10.2/src/mysql-test/mysql-test-run.pl bulk_load --suite=rocksdb --mysqld=--open-files-limit=60
|
vardir: /home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var
|
Checking leftover processes...
|
Removing old var directory...
|
Creating var directory '/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var'...
|
Checking supported features...
|
MariaDB Version 10.2.10-MariaDB
|
- SSL connections supported
|
Collecting tests...
|
Installing system database...
|
|
==============================================================================
|
|
TEST RESULT TIME (ms) or COMMENT
|
--------------------------------------------------------------------------
|
|
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
|
rocksdb.bulk_load [ fail ]
|
Test ended at 2017-10-30 17:04:01
|
|
CURRENT_TEST: rocksdb.bulk_load
|
mysqltest: In included file "/home/a/env1/_depot/m-branch/m2-10.2-src/storage/rocksdb/mysql-test/rocksdb/t/bulk_load.inc":
|
included from /home/a/env1/_depot/m-branch/m2-10.2-src/storage/rocksdb/mysql-test/rocksdb/t/bulk_load.test at line 11:
|
At line 103: query 'LOAD DATA INFILE '$file' INTO TABLE t1' failed: 2013: Lost connection to MySQL server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
CREATE TABLE t3(
|
pk CHAR(5),
|
a CHAR(30),
|
b CHAR(30),
|
PRIMARY KEY(pk) COMMENT "cf1",
|
KEY(a)
|
) COLLATE 'latin1_bin' PARTITION BY KEY() PARTITIONS 4;
|
connect other,localhost,root,,;
|
set session transaction isolation level repeatable read;
|
select * from information_schema.rocksdb_dbstats where stat_type='DB_NUM_SNAPSHOTS';
|
STAT_TYPE VALUE
|
DB_NUM_SNAPSHOTS 0
|
start transaction with consistent snapshot;
|
select * from information_schema.rocksdb_dbstats where stat_type='DB_NUM_SNAPSHOTS';
|
STAT_TYPE VALUE
|
DB_NUM_SNAPSHOTS 1
|
connection default;
|
set rocksdb_bulk_load=1;
|
set rocksdb_bulk_load_size=100000;
|
LOAD DATA INFILE <input_file> INTO TABLE t1;
|
|
More results from queries before failure can be found in /home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/log/bulk_load.log
|
|
|
Server [mysqld.1 - pid: 10802, winpid: 10802, exit: 256] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
2017-10-30 17:02:58 139724792207168 [Note] /home/a/env1/m2-10.2/bld/sql/mysqld (mysqld 10.2.10-MariaDB-log) starting as process 10803 ...
|
2017-10-30 17:02:58 139724792207168 [Warning] Could not increase number of max_open_files to more than 80 (request: 4162)
|
2017-10-30 17:02:58 139724792207168 [Note] RocksDB: Got ENOENT when listing column families
|
2017-10-30 17:02:58 139724792207168 [Note] RocksDB: assuming that we're creating a new database
|
2017-10-30 17:02:58 139724792207168 [Note] RocksDB: Column Families at start:
|
2017-10-30 17:02:58 139724792207168 [Note] cf=default
|
2017-10-30 17:02:58 139724792207168 [Note] write_buffer_size=67108864
|
2017-10-30 17:02:58 139724792207168 [Note] target_file_size_base=67108864
|
2017-10-30 17:02:58 139724792207168 [Note] RocksDB: creating a column family __system__
|
2017-10-30 17:02:58 139724792207168 [Note] write_buffer_size=67108864
|
2017-10-30 17:02:58 139724792207168 [Note] target_file_size_base=67108864
|
2017-10-30 17:02:58 139724792207168 [Note] RocksDB: Table_store: loaded DDL data for 0 tables
|
2017-10-30 17:02:58 139724792207168 [Note] RocksDB: global statistics using get_sched_indexer_t indexer
|
2017-10-30 17:02:58 139724792207168 [Note] MyRocks storage engine plugin has been successfully initialized.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'SEQUENCE' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'InnoDB' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_DATAFILES' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_TABLESTATS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_LOCKS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_MUTEXES' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_CMPMEM' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_CMP_PER_INDEX' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_CMP' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_TABLESPACES_ENCRYPTION' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_CMP_RESET' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_INDEXES' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_BUFFER_PAGE_LRU' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_CMPMEM_RESET' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_COLUMNS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_FT_INDEX_TABLE' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_CMP_PER_INDEX_RESET' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_FT_INDEX_CACHE' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_FOREIGN_COLS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_FT_BEING_DELETED' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_TRX' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_FOREIGN' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_TABLES' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_FT_DEFAULT_STOPWORD' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_FT_CONFIG' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_TABLESPACES' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_TABLESPACES_SCRUBBING' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_SEMAPHORE_WAITS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_FIELDS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_METRICS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_FT_DELETED' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'user_variables' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_BUFFER_POOL_STATS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_LOCK_WAITS' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_SYS_VIRTUAL' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'INNODB_BUFFER_PAGE' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Note] Plugin 'FEEDBACK' is disabled.
|
2017-10-30 17:02:58 139724792207168 [Warning] /home/a/env1/m2-10.2/bld/sql/mysqld: unknown variable 'loose-feedback-debug-startup-interval=20'
|
2017-10-30 17:02:58 139724792207168 [Warning] /home/a/env1/m2-10.2/bld/sql/mysqld: unknown variable 'loose-feedback-debug-first-interval=60'
|
2017-10-30 17:02:58 139724792207168 [Warning] /home/a/env1/m2-10.2/bld/sql/mysqld: unknown variable 'loose-feedback-debug-interval=60'
|
2017-10-30 17:02:58 139724792207168 [Warning] /home/a/env1/m2-10.2/bld/sql/mysqld: unknown option '--loose-pam-debug'
|
2017-10-30 17:02:58 139724792207168 [Warning] /home/a/env1/m2-10.2/bld/sql/mysqld: unknown option '--loose-enable-rocksdb_lock_info'
|
2017-10-30 17:02:58 139724792207168 [Warning] /home/a/env1/m2-10.2/bld/sql/mysqld: unknown variable 'loose-debug-sync-timeout=300'
|
2017-10-30 17:02:58 139724792207168 [Note] Server socket created on IP: '127.0.0.1'.
|
2017-10-30 17:02:58 139724792207168 [Note] /home/a/env1/m2-10.2/bld/sql/mysqld: ready for connections.
|
Version: '10.2.10-MariaDB-log' socket: '/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/tmp/mysqld.1.sock' port: 16000 Source distribution
|
2017-10-30 17:02:58 139724567672576 [Note] RocksDB: Manual memtable flush.
|
2017-10-30 17:02:59 139724567672576 [Note] RocksDB: creating a column family cf1
|
2017-10-30 17:02:59 139724567672576 [Note] write_buffer_size=67108864
|
2017-10-30 17:02:59 139724567672576 [Note] target_file_size_base=67108864
|
2017-10-30 17:04:00 139724595984128 [ERROR] LibRocksDB:[/home/a/env1/m2-10.2/src/storage/rocksdb/rocksdb/db/compaction_job.cc:1275] [default] [JOB 7] OpenCompactionOutputFiles for table #26 fails at NewWritableFile with status IO error: While open a file for appending: ./.rocksdb/000026.sst: Too many open files
|
2017-10-30 17:04:00 139724595984128 [ERROR] LibRocksDB:[/home/a/env1/m2-10.2/src/storage/rocksdb/rocksdb/db/db_impl_compaction_flush.cc:1359] Waiting after background compaction error: IO error: While open a file for appending: ./.rocksdb/000026.sst: Too many open files, Accumulated background error counts: 1
|
2017-10-30 17:04:00 139724567672576 [ERROR] RocksDB: failed to write to WAL, Status Code: 5, Status: IO error: While open a file for appending: ./.rocksdb/000026.sst: Too many open files
|
2017-10-30 17:04:00 139724567672576 [ERROR] MyRocks: aborting on WAL write error.
|
171030 17:04:00 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.2.10-MariaDB-log
|
key_buffer_size=1048576
|
read_buffer_size=131072
|
max_used_connections=2
|
max_threads=153
|
thread_count=3
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 62996 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f14040009a8
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7f142938ee78 thread_stack 0x49000
|
(my_addr_resolve failure: pipe(out))
|
/home/a/env1/m2-10.2/bld/sql/mysqld(my_print_stacktrace+0x29) [0x55e157cce9d9]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(handle_fatal_signal+0x3bd) [0x55e15780be6d]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11670) [0x7f14356a4670]
|
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x9f) [0x7f1434a5977f]
|
/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f1434a5b37a]
|
/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/plugins/ha_rocksdb.so(myrocks::rdb_handle_io_error(rocksdb::Status, myrocks::RDB_IO_ERROR_TYPE)+0x6e) [0x7f142bb0f63e]
|
/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/plugins/ha_rocksdb.so(myrocks::Rdb_transaction_impl::commit_no_binlog()+0xaf) [0x7f142bb1544f]
|
/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/plugins/ha_rocksdb.so(myrocks::ha_rocksdb::do_bulk_commit(myrocks::Rdb_transaction*)+0x56) [0x7f142bb05676]
|
/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/plugins/ha_rocksdb.so(myrocks::ha_rocksdb::update_write_row(unsigned char const*, unsigned char const*, bool)+0xf0) [0x7f142bb07290]
|
/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/plugins/ha_rocksdb.so(myrocks::ha_rocksdb::write_row(unsigned char*)+0x38) [0x7f142bb05a28]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(handler::ha_write_row(unsigned char*)+0x92) [0x55e1578153b2]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(write_record(THD*, TABLE*, st_copy_info*)+0x6a) [0x55e15767023a]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(mysql_load(THD*, sql_exchange*, TABLE_LIST*, List<Item>&, List<Item>&, List<Item>&, enum_duplicates, bool, bool)+0x2485) [0x55e15792fea5]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(mysql_execute_command(THD*)+0x196f) [0x55e15768c07f]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool)+0x27d) [0x55e15769332d]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool)+0x1fd4) [0x55e1576960f4]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(do_command(THD*)+0x161) [0x55e157696a31]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(do_handle_one_connection(CONNECT*)+0x234) [0x55e157751064]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(handle_one_connection+0x34) [0x55e1577511d4]
|
/home/a/env1/m2-10.2/bld/sql/mysqld(+0xab5144) [0x55e157c97144]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76da) [0x7f143569a6da]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x5f) [0x7f1434b2cd7f]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f140400f010): is an invalid pointer
|
Connection ID (thread ID): 4
|
Status: NOT_KILLED
|
|
Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
|
|
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
|
information that should help you find out what is causing the crash.
|
|
We think the query pointer is invalid, but we will try to print it anyway.
|
Query: LOAD DATA INFILE '/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/mysqld.1/data/test_loadfile.txt' INTO TABLE t1
|
|
Writing a core file
|
----------SERVER LOG END-------------
|
|
|
- saving '/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/log/rocksdb.bulk_load/' to '/home/a/env1/_depot/m-branch/m2-10.2-bld/mysql-test/var/log/rocksdb.bulk_load/'
|
--------------------------------------------------------------------------
|
The servers were restarted 0 times
|
Spent 0.000 of 69 seconds executing testcases
|
|
Failure: Failed 1/1 tests, 0.00% were successful.
|
|
Failing test(s): rocksdb.bulk_load
|
|
The log files in var/log may give you some hint of what went wrong.
|
|
If you want to report this error, please read first the documentation
|
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
|
|
mysql-test-run: *** ERROR: there were failing test cases
|