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
16300379
Commit
16300379
authored
Jul 28, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27774 fixup: log_sys.mutex is log_sys.latch
parent
3fbcd68d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
storage/innobase/include/log0log.h
storage/innobase/include/log0log.h
+1
-1
storage/innobase/mtr/mtr0mtr.cc
storage/innobase/mtr/mtr0mtr.cc
+1
-1
No files found.
storage/innobase/include/log0log.h
View file @
16300379
...
...
@@ -278,7 +278,7 @@ typedef srw_lock log_rwlock_t;
new query step is started */
/** latest completed checkpoint (protected by latch.wr_lock()) */
Atomic_relaxed
<
lsn_t
>
last_checkpoint_lsn
;
/** next checkpoint LSN (protected by log_sys.
mutex
) */
/** next checkpoint LSN (protected by log_sys.
latch
) */
lsn_t
next_checkpoint_lsn
;
/** next checkpoint number (protected by latch.wr_lock()) */
ulint
next_checkpoint_no
;
...
...
storage/innobase/mtr/mtr0mtr.cc
View file @
16300379
...
...
@@ -997,7 +997,7 @@ bool mtr_t::commit_file(fil_space_t &space, const char *name)
/** Commit a mini-transaction that did not modify any pages,
but generated some redo log on a higher level, such as
FILE_MODIFY records and an optional FILE_CHECKPOINT marker.
The caller must hold
log_sys.mutex
.
The caller must hold
exclusive log_sys.latch
.
This is to be used at log_checkpoint().
@param checkpoint_lsn the log sequence number of a checkpoint, or 0
@return current LSN */
...
...
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