Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
562dd53c
Commit
562dd53c
authored
Aug 13, 2018
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-16575: rocksdb.bulk_load_errors fails in buildbot with wrong result
Fix a race condition in the test.
parent
ba10ffe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
storage/rocksdb/mysql-test/rocksdb/t/bulk_load_errors.test
storage/rocksdb/mysql-test/rocksdb/t/bulk_load_errors.test
+7
-0
No files found.
storage/rocksdb/mysql-test/rocksdb/t/bulk_load_errors.test
View file @
562dd53c
...
...
@@ -60,6 +60,13 @@ SELECT * FROM t1;
--
source
include
/
wait_until_count_sessions
.
inc
# Note: in MariaDB, session count will be decremented *before*
# myrocks::rocksdb_close_connection is called. This causes a race condition:
# we may grep the error log before bulk load is finalized.
# To prevent that, do a soft restart of the server (I wasnt able to find
# any other reliable way)
--
source
include
/
restart_mysqld_with_option
.
inc
--
let
SEARCH_FILE
=
$LOG2
--
let
SEARCH_PATTERN
=
RocksDB
:
Error
[
0
-
9
]
+
finalizing
last
SST
file
while
disconnecting
--
source
include
/
search_pattern_in_file
.
inc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment