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
87c93bc5
Commit
87c93bc5
authored
Mar 10, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/fix
into mysql.com:/home/jonas/src/mysql-4.1
parents
3aa4349d
364b3b7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
ndb/include/mgmapi/mgmapi_config_parameters.h
ndb/include/mgmapi/mgmapi_config_parameters.h
+2
-0
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+3
-3
ndb/src/mgmsrv/ConfigInfo.cpp
ndb/src/mgmsrv/ConfigInfo.cpp
+2
-3
No files found.
ndb/include/mgmapi/mgmapi_config_parameters.h
View file @
87c93bc5
...
@@ -81,6 +81,8 @@
...
@@ -81,6 +81,8 @@
#define CFG_DB_BACKUP_DATADIR 158
#define CFG_DB_BACKUP_DATADIR 158
#define CFG_DB_MAX_OPEN_FILES 159
#define CFG_NODE_ARBIT_RANK 200
#define CFG_NODE_ARBIT_RANK 200
#define CFG_NODE_ARBIT_DELAY 201
#define CFG_NODE_ARBIT_DELAY 201
...
...
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
View file @
87c93bc5
...
@@ -66,10 +66,10 @@ Ndbfs::Ndbfs(const Configuration & conf) :
...
@@ -66,10 +66,10 @@ Ndbfs::Ndbfs(const Configuration & conf) :
ndbrequire
(
p
!=
0
);
ndbrequire
(
p
!=
0
);
m_maxFiles
=
40
;
m_maxFiles
=
40
;
//
ndb_mgm_get_int_parameter(p, CFG_DB_MAX_OPEN_FILES, &m_maxFiles);
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_MAX_OPEN_FILES
,
&
m_maxFiles
);
// Create idle AsyncFiles
// Create idle AsyncFiles
Uint32
noIdleFiles
=
27
;
Uint32
noIdleFiles
=
m_maxFiles
>
27
?
27
:
m_maxFiles
;
for
(
Uint32
i
=
0
;
i
<
noIdleFiles
;
i
++
){
for
(
Uint32
i
=
0
;
i
<
noIdleFiles
;
i
++
){
theIdleFiles
.
push_back
(
createAsyncFile
());
theIdleFiles
.
push_back
(
createAsyncFile
());
}
}
...
...
ndb/src/mgmsrv/ConfigInfo.cpp
View file @
87c93bc5
...
@@ -873,7 +873,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -873,7 +873,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
STR_VALUE
(
MAX_INT_RNIL
)
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
KEY_INTERNAL
,
CFG_DB_MAX_OPEN_FILES
,
"MaxNoOfOpenFiles"
,
"MaxNoOfOpenFiles"
,
DB_TOKEN
,
DB_TOKEN
,
"Max number of files open per "
DB_TOKEN_PRINT
" node.(One thread is created per file)"
,
"Max number of files open per "
DB_TOKEN_PRINT
" node.(One thread is created per file)"
,
...
@@ -882,8 +882,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -882,8 +882,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
"40"
,
"40"
,
"20"
,
"20"
,
"256"
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_TRANSACTION_CHECK_INTERVAL
,
CFG_DB_TRANSACTION_CHECK_INTERVAL
,
...
...
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