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
9202b48b
Commit
9202b48b
authored
May 24, 2007
by
unknown
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
98a46edb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
+3
-2
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
+2
-2
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+5
-0
No files found.
ndb/src/kernel/blocks/dblqh/Dblqh.hpp
View file @
9202b48b
...
@@ -2668,7 +2668,8 @@ private:
...
@@ -2668,7 +2668,8 @@ private:
UintR
cfirstfreeLogFile
;
UintR
cfirstfreeLogFile
;
UintR
clogFileFileSize
;
UintR
clogFileFileSize
;
#define ZLFO_FILE_SIZE 256
/* MAX 256 OUTSTANDING FILE OPERATIONS */
#define ZLFO_MIN_FILE_SIZE 256
// RedoBuffer/32K minimum ZLFO_MIN_FILE_SIZE
LogFileOperationRecord
*
logFileOperationRecord
;
LogFileOperationRecord
*
logFileOperationRecord
;
LogFileOperationRecordPtr
lfoPtr
;
LogFileOperationRecordPtr
lfoPtr
;
UintR
cfirstfreeLfo
;
UintR
cfirstfreeLfo
;
...
@@ -2685,7 +2686,7 @@ private:
...
@@ -2685,7 +2686,7 @@ private:
UintR
cfirstfreePageRef
;
UintR
cfirstfreePageRef
;
UintR
cpageRefFileSize
;
UintR
cpageRefFileSize
;
#define ZSCANREC_FILE_SIZE 100
// Configurable
ArrayPool
<
ScanRecord
>
c_scanRecordPool
;
ArrayPool
<
ScanRecord
>
c_scanRecordPool
;
ScanRecordPtr
scanptr
;
ScanRecordPtr
scanptr
;
UintR
cscanNoFreeRec
;
UintR
cscanNoFreeRec
;
...
...
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
View file @
9202b48b
...
@@ -32,11 +32,11 @@ void Dblqh::initData()
...
@@ -32,11 +32,11 @@ void Dblqh::initData()
chostFileSize
=
MAX_NDB_NODES
;
chostFileSize
=
MAX_NDB_NODES
;
clcpFileSize
=
ZNO_CONCURRENT_LCP
;
clcpFileSize
=
ZNO_CONCURRENT_LCP
;
clcpLocrecFileSize
=
ZLCP_LOCREC_FILE_SIZE
;
clcpLocrecFileSize
=
ZLCP_LOCREC_FILE_SIZE
;
clfoFileSize
=
ZLFO_FILE_SIZE
;
clfoFileSize
=
0
;
clogFileFileSize
=
0
;
clogFileFileSize
=
0
;
clogPartFileSize
=
ZLOG_PART_FILE_SIZE
;
clogPartFileSize
=
ZLOG_PART_FILE_SIZE
;
cpageRefFileSize
=
ZPAGE_REF_FILE_SIZE
;
cpageRefFileSize
=
ZPAGE_REF_FILE_SIZE
;
cscanrecFileSize
=
ZSCANREC_FILE_SIZE
;
cscanrecFileSize
=
0
;
ctabrecFileSize
=
0
;
ctabrecFileSize
=
0
;
ctcConnectrecFileSize
=
0
;
ctcConnectrecFileSize
=
0
;
ctcNodeFailrecFileSize
=
MAX_NDB_NODES
;
ctcNodeFailrecFileSize
=
MAX_NDB_NODES
;
...
...
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
9202b48b
...
@@ -7251,6 +7251,11 @@ void Dblqh::continueScanNextReqLab(Signal* signal)
...
@@ -7251,6 +7251,11 @@ void Dblqh::continueScanNextReqLab(Signal* signal)
return
;
return
;
}
}
/* maximum number of log file operations */
clfoFileSize
=
clogPageFileSize
;
if
(
clfoFileSize
<
ZLFO_MIN_FILE_SIZE
)
clfoFileSize
=
ZLFO_MIN_FILE_SIZE
;
// Update timer on tcConnectRecord
// Update timer on tcConnectRecord
tcConnectptr
.
p
->
tcTimer
=
cLqhTimeOutCount
;
tcConnectptr
.
p
->
tcTimer
=
cLqhTimeOutCount
;
init_acc_ptr_list
(
scanptr
.
p
);
init_acc_ptr_list
(
scanptr
.
p
);
...
...
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