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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
07cdfdca
Commit
07cdfdca
authored
Jul 25, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - Fix LCP during SR parameters
parent
b285050e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
+17
-10
ndb/include/mgmapi/mgmapi_config_parameters.h
ndb/include/mgmapi/mgmapi_config_parameters.h
+5
-2
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
+4
-2
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
+4
-2
ndb/src/mgmsrv/ConfigInfo.cpp
ndb/src/mgmsrv/ConfigInfo.cpp
+4
-4
No files found.
ndb/include/mgmapi/mgmapi_config_parameters.h
View file @
07cdfdca
...
...
@@ -50,8 +50,11 @@
#define CFG_DB_FILESYSTEM_PATH 125
#define CFG_DB_NO_REDOLOG_FILES 126
#define CFG_DB_DISC_BANDWIDTH 127
#define CFG_DB_SR_DISC_BANDWITH 128
#define CFG_DB_LCP_DISC_PAGES_TUP 127
#define CFG_DB_LCP_DISC_PAGES_TUP_SR 128
#define CFG_DB_LCP_DISC_PAGES_ACC 137
#define CFG_DB_LCP_DISC_PAGES_ACC_SR 138
#define CFG_DB_TRANSACTION_CHECK_INTERVAL 129
#define CFG_DB_TRANSACTION_INACTIVE_TIMEOUT 130
...
...
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp
View file @
07cdfdca
...
...
@@ -722,10 +722,12 @@ void Dbacc::execREAD_CONFIG_REQ(Signal* signal)
ndbrestart1Lab
(
signal
);
clblPagesPerTick
=
50
;
//ndb_mgm_get_int_parameter(p, CFG_DB_, &clblPagesPerTick);
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_LCP_DISC_PAGES_ACC_SR
,
&
clblPagesPerTick
);
clblPagesPerTickAfterSr
=
50
;
//ndb_mgm_get_int_parameter(p, CFG_DB_, &clblPagesPerTickAfterSr);
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_LCP_DISC_PAGES_ACC
,
&
clblPagesPerTickAfterSr
);
tdata0
=
0
;
initialiseRecordsLab
(
signal
,
ref
,
senderData
);
...
...
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
View file @
07cdfdca
...
...
@@ -663,10 +663,12 @@ void Dbtup::execREAD_CONFIG_REQ(Signal* signal)
initialiseRecordsLab
(
signal
,
0
,
ref
,
senderData
);
clblPagesPerTick
=
50
;
//ndb_mgm_get_int_parameter(p, CFG_DB_, &clblPagesPerTick);
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_LCP_DISC_PAGES_TUP_SR
,
&
clblPagesPerTick
);
clblPagesPerTickAfterSr
=
50
;
//ndb_mgm_get_int_parameter(p, CFG_DB_, &clblPagesPerTickAfterSr);
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_LCP_DISC_PAGES_TUP
,
&
clblPagesPerTickAfterSr
);
}
//Dbtup::execSIZEALT_REP()
...
...
ndb/src/mgmsrv/ConfigInfo.cpp
View file @
07cdfdca
...
...
@@ -928,7 +928,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
STR_VALUE
(
MAX_INT_RNIL
)
},
{
KEY_INTERNAL
,
CFG_DB_LCP_DISC_PAGES_TUP_SR
,
"NoOfDiskPagesToDiskDuringRestartTUP"
,
DB_TOKEN
,
"?"
,
...
...
@@ -940,7 +940,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
STR_VALUE
(
MAX_INT_RNIL
)
},
{
KEY_INTERNAL
,
CFG_DB_LCP_DISC_PAGES_TUP
,
"NoOfDiskPagesToDiskAfterRestartTUP"
,
DB_TOKEN
,
"?"
,
...
...
@@ -952,7 +952,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
STR_VALUE
(
MAX_INT_RNIL
)
},
{
KEY_INTERNAL
,
CFG_DB_LCP_DISC_PAGES_ACC_SR
,
"NoOfDiskPagesToDiskDuringRestartACC"
,
DB_TOKEN
,
"?"
,
...
...
@@ -964,7 +964,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
STR_VALUE
(
MAX_INT_RNIL
)
},
{
KEY_INTERNAL
,
CFG_DB_LCP_DISC_PAGES_ACC
,
"NoOfDiskPagesToDiskAfterRestartACC"
,
DB_TOKEN
,
"?"
,
...
...
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