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
e02ed04d
Commit
e02ed04d
authored
Jan 25, 2023
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-23855 fixup: Remove SRV_MASTER_CHECKPOINT_INTERVAL
parent
8bccba1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
storage/innobase/srv/srv0srv.cc
storage/innobase/srv/srv0srv.cc
+1
-12
No files found.
storage/innobase/srv/srv0srv.cc
View file @
e02ed04d
...
...
@@ -413,17 +413,6 @@ thread ensures that we flush the log files at least once per
second. */
static
time_t
srv_last_log_flush_time
;
/* Interval in seconds at which various tasks are performed by the
master thread when server is active. In order to balance the workload,
we should try to keep intervals such that they are not multiple of
each other. For example, if we have intervals for various tasks
defined as 5, 10, 15, 60 then all tasks will be performed when
current_time % 60 == 0 and no tasks will be performed when
current_time % 5 != 0. */
# define SRV_MASTER_CHECKPOINT_INTERVAL (7)
# define SRV_MASTER_DICT_LRU_INTERVAL (47)
/** Buffer pool dump status frequence in percentages */
UNIV_INTERN
ulong
srv_buf_dump_status_frequency
;
...
...
@@ -1586,7 +1575,7 @@ srv_master_do_active_tasks(void)
return
;
}
if
(
cur_time
%
SRV_MASTER_DICT_LRU_INTERVAL
==
0
)
{
if
(
!
(
cur_time
%
47
)
)
{
srv_main_thread_op_info
=
"enforcing dict cache limit"
;
ulint
n_evicted
=
srv_master_evict_from_table_cache
(
50
);
if
(
n_evicted
!=
0
)
{
...
...
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