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
b2029c03
Commit
b2029c03
authored
Nov 12, 2020
by
Sujatha
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.3' into 10.4
parents
972dc6ee
bafb011a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
sql/log.h
sql/log.h
+1
-1
sql/rpl_rli.cc
sql/rpl_rli.cc
+2
-2
sql/rpl_rli.h
sql/rpl_rli.h
+2
-1
sql/slave.cc
sql/slave.cc
+2
-2
No files found.
sql/log.h
View file @
b2029c03
...
...
@@ -720,7 +720,7 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG
{
bytes_written
=
0
;
}
void
harvest_bytes_written
(
ulonglong
*
counter
)
void
harvest_bytes_written
(
Atomic_counter
<
uint64
>
*
counter
)
{
#ifndef DBUG_OFF
char
buf1
[
22
],
buf2
[
22
];
...
...
sql/rpl_rli.cc
View file @
b2029c03
...
...
@@ -459,7 +459,7 @@ static inline int add_relay_log(Relay_log_info* rli,LOG_INFO* linfo)
DBUG_RETURN
(
1
);
}
rli
->
log_space_total
+=
s
.
st_size
;
DBUG_PRINT
(
"info"
,(
"log_space_total: %llu"
,
rli
->
log_space_total
));
DBUG_PRINT
(
"info"
,(
"log_space_total: %llu"
,
uint64
(
rli
->
log_space_total
)
));
DBUG_RETURN
(
0
);
}
...
...
@@ -1252,7 +1252,7 @@ int purge_relay_logs(Relay_log_info* rli, THD *thd, bool just_reset,
mysql_mutex_unlock
(
rli
->
relay_log
.
get_log_lock
());
}
err:
DBUG_PRINT
(
"info"
,(
"log_space_total: %llu"
,
rli
->
log_space_total
));
DBUG_PRINT
(
"info"
,(
"log_space_total: %llu"
,
uint64
(
rli
->
log_space_total
)
));
mysql_mutex_unlock
(
&
rli
->
data_lock
);
DBUG_RETURN
(
error
);
}
...
...
sql/rpl_rli.h
View file @
b2029c03
...
...
@@ -240,7 +240,8 @@ class Relay_log_info : public Slave_reporting_capability
threads, the SQL thread sets it to unblock the I/O thread and make it
temporarily forget about the constraint.
*/
ulonglong
log_space_limit
,
log_space_total
;
ulonglong
log_space_limit
;
Atomic_counter
<
uint64
>
log_space_total
;
bool
ignore_log_space_limit
;
/*
...
...
sql/slave.cc
View file @
b2029c03
...
...
@@ -2781,7 +2781,7 @@ static bool wait_for_relay_log_space(Relay_log_info* rli)
DBUG_PRINT
(
"info"
,
(
"log_space_limit=%llu log_space_total=%llu "
"ignore_log_space_limit=%d "
"sql_force_rotate_relay=%d"
,
rli
->
log_space_limit
,
rli
->
log_space_total
,
rli
->
log_space_limit
,
uint64
(
rli
->
log_space_total
)
,
(
int
)
rli
->
ignore_log_space_limit
,
(
int
)
rli
->
sql_force_rotate_relay
));
}
...
...
@@ -5039,7 +5039,7 @@ Stopping slave I/O thread due to out-of-memory error from master");
{
DBUG_PRINT
(
"info"
,
(
"log_space_limit=%llu log_space_total=%llu "
"ignore_log_space_limit=%d"
,
rli
->
log_space_limit
,
rli
->
log_space_total
,
rli
->
log_space_limit
,
uint64
(
rli
->
log_space_total
)
,
(
int
)
rli
->
ignore_log_space_limit
));
}
#endif
...
...
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