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
4b6ac944
Commit
4b6ac944
authored
Mar 22, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
parents
187ff695
76313a55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
mysql-test/ndb/ndb_config_2_node.ini
mysql-test/ndb/ndb_config_2_node.ini
+3
-0
storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+4
-2
storage/ndb/src/mgmsrv/ConfigInfo.cpp
storage/ndb/src/mgmsrv/ConfigInfo.cpp
+12
-0
No files found.
mysql-test/ndb/ndb_config_2_node.ini
View file @
4b6ac944
...
...
@@ -12,6 +12,9 @@ MaxNoOfAttributes= CHOOSE_MaxNoOfAttributes
TimeBetweenGlobalCheckpoints
=
500
NoOfFragmentLogFiles
=
3
DiskPageBufferMemory
=
CHOOSE_DiskPageBufferMemory
# the following parametes just function as a small regression
# test that the parameter exists
InitialNoOfOpenFiles
=
27
[ndbd]
HostName
=
CHOOSE_HOSTNAME_1 # hostname is a valid network adress
...
...
storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
View file @
4b6ac944
...
...
@@ -108,9 +108,11 @@ Ndbfs::execREAD_CONFIG_REQ(Signal* signal)
m_maxFiles
=
40
;
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_MAX_OPEN_FILES
,
&
m_maxFiles
);
Uint32
noIdleFiles
=
27
;
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_INITIAL_OPEN_FILES
,
&
noIdleFiles
);
if
(
noIdleFiles
>
m_maxFiles
)
m_maxFiles
=
noIdleFiles
;
// Create idle AsyncFiles
Uint32
noIdleFiles
=
m_maxFiles
>
27
?
27
:
m_maxFiles
;
for
(
Uint32
i
=
0
;
i
<
noIdleFiles
;
i
++
){
theIdleFiles
.
push_back
(
createAsyncFile
());
}
...
...
storage/ndb/src/mgmsrv/ConfigInfo.cpp
View file @
4b6ac944
...
...
@@ -892,6 +892,18 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
"20"
,
STR_VALUE
(
MAX_INT_RNIL
)
},
{
CFG_DB_INITIAL_OPEN_FILES
,
"InitialNoOfOpenFiles"
,
DB_TOKEN
,
"Initial number of files open per "
DB_TOKEN_PRINT
" node.(One thread is created per file)"
,
ConfigInfo
::
CI_USED
,
false
,
ConfigInfo
::
CI_INT
,
"27"
,
"20"
,
STR_VALUE
(
MAX_INT_RNIL
)
},
{
CFG_DB_TRANSACTION_CHECK_INTERVAL
,
"TimeBetweenInactiveTransactionAbortCheck"
,
...
...
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