Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Levin Zimmermann
neoppod
Commits
f21cdd86
Commit
f21cdd86
authored
May 29, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stress: extend -b option to log everything
parent
e3414b6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tools/stress
tools/stress
+4
-2
No files found.
tools/stress
View file @
f21cdd86
...
@@ -594,7 +594,9 @@ def main():
...
@@ -594,7 +594,9 @@ def main():
_
(
'-e'
,
'--engine'
,
help
=
"database engine (MySQL only)"
)
_
(
'-e'
,
'--engine'
,
help
=
"database engine (MySQL only)"
)
_
(
'-l'
,
'--logdir'
,
help
=
"(default: same as --datadir)"
)
_
(
'-l'
,
'--logdir'
,
help
=
"(default: same as --datadir)"
)
_
(
'-b'
,
'--backlog'
,
type
=
int
,
default
=
16
,
_
(
'-b'
,
'--backlog'
,
type
=
int
,
default
=
16
,
help
=
"max size in MiB of logging backlog"
)
help
=
"max size in MiB of logging backlog (the content is flushed to"
" log files only on WARNING or higher severity), -1 to send to"
" log files unconditionally"
)
_
(
'-m'
,
'--masters'
,
type
=
int
,
default
=
1
)
_
(
'-m'
,
'--masters'
,
type
=
int
,
default
=
1
)
_
(
'-s'
,
'--storages'
,
type
=
int
,
default
=
8
)
_
(
'-s'
,
'--storages'
,
type
=
int
,
default
=
8
)
_
(
'-p'
,
'--partitions'
,
type
=
int
,
default
=
24
)
_
(
'-p'
,
'--partitions'
,
type
=
int
,
default
=
24
)
...
@@ -644,7 +646,7 @@ def main():
...
@@ -644,7 +646,7 @@ def main():
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
if
args
.
backlog
:
if
args
.
backlog
:
logging
.
backlog
(
args
.
backlog
<<
20
)
logging
.
backlog
(
None
if
args
.
backlog
<
0
else
args
.
backlog
<<
20
)
db_list
=
[
'stress_neo%s'
%
x
for
x
in
xrange
(
args
.
storages
)]
db_list
=
[
'stress_neo%s'
%
x
for
x
in
xrange
(
args
.
storages
)]
if
args
.
datadir
or
args
.
logdir
:
if
args
.
datadir
or
args
.
logdir
:
...
...
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