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
566f48d0
Commit
566f48d0
authored
Mar 29, 2007
by
Justin.He/justin.he@dev3-240.dev.cn.tlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#24521, ndbd node crashes if try to create many datafiles for tablespace
parent
0bbae247
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+3
-3
storage/ndb/src/mgmsrv/ConfigInfo.cpp
storage/ndb/src/mgmsrv/ConfigInfo.cpp
+1
-1
storage/ndb/src/mgmsrv/ParamInfo.cpp
storage/ndb/src/mgmsrv/ParamInfo.cpp
+1
-1
No files found.
storage/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
View file @
566f48d0
...
...
@@ -105,11 +105,11 @@ Ndbfs::execREAD_CONFIG_REQ(Signal* signal)
theRequestPool
=
new
Pool
<
Request
>
;
m_maxFiles
=
4
0
;
m_maxFiles
=
0
;
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
)
if
(
noIdleFiles
>
m_maxFiles
&&
m_maxFiles
!=
0
)
m_maxFiles
=
noIdleFiles
;
// Create idle AsyncFiles
for
(
Uint32
i
=
0
;
i
<
noIdleFiles
;
i
++
){
...
...
@@ -650,7 +650,7 @@ AsyncFile*
Ndbfs
::
createAsyncFile
(){
// Check limit of open files
if
(
theFiles
.
size
()
+
1
==
m_maxFiles
)
{
if
(
m_maxFiles
!=
0
&&
theFiles
.
size
()
+
1
==
m_maxFiles
)
{
// Print info about all open files
for
(
unsigned
i
=
0
;
i
<
theFiles
.
size
();
i
++
){
AsyncFile
*
file
=
theFiles
[
i
];
...
...
storage/ndb/src/mgmsrv/ConfigInfo.cpp
View file @
566f48d0
...
...
@@ -879,7 +879,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_USED
,
false
,
ConfigInfo
::
CI_INT
,
"
4
0"
,
"0"
,
"20"
,
STR_VALUE
(
MAX_INT_RNIL
)
},
...
...
storage/ndb/src/mgmsrv/ParamInfo.cpp
View file @
566f48d0
...
...
@@ -705,7 +705,7 @@ const ParamInfo ParamInfoArray[] = {
CI_USED
,
false
,
CI_INT
,
"
4
0"
,
"0"
,
"20"
,
STR_VALUE
(
MAX_INT_RNIL
)
},
...
...
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