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
fe8db78b
Commit
fe8db78b
authored
May 24, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #28653 Fast GCP + high load + high RedoBuffer causes ndbrequire
- correction, use recomputed _actual_ redobuffer
parent
39aa3e99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+5
-5
No files found.
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
fe8db78b
...
@@ -992,11 +992,6 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
...
@@ -992,11 +992,6 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_REDO_BUFFER
,
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_REDO_BUFFER
,
&
log_page_size
);
&
log_page_size
);
/* maximum number of log file operations */
clfoFileSize
=
(
log_page_size
+
32768
-
1
)
/
32768
;
if
(
clfoFileSize
<
ZLFO_MIN_FILE_SIZE
)
clfoFileSize
=
ZLFO_MIN_FILE_SIZE
;
/**
/**
* Always set page size in half MBytes
* Always set page size in half MBytes
*/
*/
...
@@ -1007,6 +1002,11 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
...
@@ -1007,6 +1002,11 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
clogPageFileSize
+=
(
16
-
mega_byte_part
);
clogPageFileSize
+=
(
16
-
mega_byte_part
);
}
}
/* maximum number of log file operations */
clfoFileSize
=
clogPageFileSize
;
if
(
clfoFileSize
<
ZLFO_MIN_FILE_SIZE
)
clfoFileSize
=
ZLFO_MIN_FILE_SIZE
;
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_TABLE
,
&
ctabrecFileSize
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_TABLE
,
&
ctabrecFileSize
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_TC_CONNECT
,
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_TC_CONNECT
,
&
ctcConnectrecFileSize
));
&
ctcConnectrecFileSize
));
...
...
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