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
cbdf62ae
Commit
cbdf62ae
authored
Apr 06, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25975 merge fixup
parent
d172df99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
storage/innobase/dict/dict0stats_bg.cc
storage/innobase/dict/dict0stats_bg.cc
+2
-4
storage/innobase/fts/fts0opt.cc
storage/innobase/fts/fts0opt.cc
+2
-4
storage/innobase/log/log0log.cc
storage/innobase/log/log0log.cc
+2
-3
No files found.
storage/innobase/dict/dict0stats_bg.cc
View file @
cbdf62ae
...
...
@@ -37,11 +37,9 @@ Created Apr 25, 2012 Vasil Dimov
# include "wsrep.h"
# include "log.h"
# include "wsrep_mysqld.h"
extern
uint32
wsrep_sst_disable_writes
;
# define wsrep_sst_disable_writes \
my_atomic_load32_explicit(&wsrep_sst_disable_writes, MY_MEMORY_ORDER_RELAXED)
extern
Atomic_relaxed
<
bool
>
wsrep_sst_disable_writes
;
#else
# define wsrep_sst_disable_writes false
constexpr
bool
wsrep_sst_disable_writes
=
false
;
#endif
#include <vector>
...
...
storage/innobase/fts/fts0opt.cc
View file @
cbdf62ae
...
...
@@ -40,11 +40,9 @@ Completed 2011/7/10 Sunny and Jimmy Yang
#include "wsrep.h"
#ifdef WITH_WSREP
extern
uint32
wsrep_sst_disable_writes
;
# define wsrep_sst_disable_writes \
my_atomic_load32_explicit(&wsrep_sst_disable_writes, MY_MEMORY_ORDER_RELAXED)
extern
Atomic_relaxed
<
bool
>
wsrep_sst_disable_writes
;
#else
# define wsrep_sst_disable_writes false
constexpr
bool
wsrep_sst_disable_writes
=
false
;
#endif
/** The FTS optimize thread's work queue. */
...
...
storage/innobase/log/log0log.cc
View file @
cbdf62ae
...
...
@@ -1460,14 +1460,13 @@ bool log_checkpoint(bool sync)
ut_ad
(
oldest_lsn
>=
log_sys
.
last_checkpoint_lsn
);
const
lsn_t
age
=
oldest_lsn
-
log_sys
.
last_checkpoint_lsn
;
if
(
age
>
SIZE_OF_MLOG_CHECKPOINT
+
LOG_BLOCK_HDR_SIZE
+
LOG_BLOCK_CHECKSUM
)
{
if
(
age
>
SIZE_OF_MLOG_CHECKPOINT
+
log_sys
.
framing_size
())
{
/* Some log has been written since the previous checkpoint. */
}
else
if
(
age
>
SIZE_OF_MLOG_CHECKPOINT
&&
!
((
log_sys
.
log
.
calc_lsn_offset
(
oldest_lsn
)
^
log_sys
.
log
.
calc_lsn_offset
(
log_sys
.
last_checkpoint_lsn
))
&
~
lsn_t
(
OS_FILE_LOG_BLOCK_SIZE
-
1
)
))
{
&
~
lsn_t
{
OS_FILE_LOG_BLOCK_SIZE
-
1
}
))
{
/* Some log has been written to the same log block. */
}
else
if
(
srv_shutdown_state
>
SRV_SHUTDOWN_INITIATED
)
{
/* MariaDB 10.3 startup expects the redo log file to be
...
...
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