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
4cdf0fab
Commit
4cdf0fab
authored
May 07, 2007
by
mikron@mikael-ronstr-ms-dator.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SCI Transporter
parent
35a0af31
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
187 deletions
+54
-187
config/ac-macros/ha_ndbcluster.m4
config/ac-macros/ha_ndbcluster.m4
+1
-1
libmysqld/Makefile.am
libmysqld/Makefile.am
+1
-1
libmysqld/examples/Makefile.am
libmysqld/examples/Makefile.am
+2
-1
ndb/src/common/transporter/SCI_Transporter.cpp
ndb/src/common/transporter/SCI_Transporter.cpp
+47
-169
ndb/src/common/transporter/SCI_Transporter.hpp
ndb/src/common/transporter/SCI_Transporter.hpp
+3
-15
No files found.
config/ac-macros/ha_ndbcluster.m4
View file @
4cdf0fab
...
@@ -22,7 +22,7 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
...
@@ -22,7 +22,7 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
if test -f "$mysql_sci_dir/lib/libsisci.a" -a \
if test -f "$mysql_sci_dir/lib/libsisci.a" -a \
-f "$mysql_sci_dir/include/sisci_api.h"; then
-f "$mysql_sci_dir/include/sisci_api.h"; then
NDB_SCI_INCLUDES="-I$mysql_sci_dir/include"
NDB_SCI_INCLUDES="-I$mysql_sci_dir/include"
NDB_SCI_LIBS="
-L$mysql_sci_dir/lib -lsisci
"
NDB_SCI_LIBS="
$mysql_sci_dir/lib/libsisci.a
"
AC_MSG_RESULT([-- including sci transporter])
AC_MSG_RESULT([-- including sci transporter])
AC_DEFINE([NDB_SCI_TRANSPORTER], [1],
AC_DEFINE([NDB_SCI_TRANSPORTER], [1],
[Including Ndb Cluster DB sci transporter])
[Including Ndb Cluster DB sci transporter])
...
...
libmysqld/Makefile.am
View file @
4cdf0fab
...
@@ -81,7 +81,7 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
...
@@ -81,7 +81,7 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/strings/libmystrings.a
\
$(top_builddir)
/strings/libmystrings.a
\
$(top_builddir)
/dbug/libdbug.a
\
$(top_builddir)
/dbug/libdbug.a
\
$(top_builddir)
/vio/libvio.a
$(top_builddir)
/vio/libvio.a
@NDB_SCI_LIBS@
#
#
...
...
libmysqld/examples/Makefile.am
View file @
4cdf0fab
...
@@ -35,7 +35,8 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) \
...
@@ -35,7 +35,8 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) \
-I
$(top_srcdir)
-I
$(top_srcdir)
/client
-I
$(top_srcdir)
/regex
\
-I
$(top_srcdir)
-I
$(top_srcdir)
/client
-I
$(top_srcdir)
/regex
\
$(openssl_includes)
$(openssl_includes)
LIBS
=
@LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
$(yassl_libs)
LIBS
=
@LIBS@ @WRAPLIBS@ @CLIENT_LIBS@
$(yassl_libs)
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@
$(CXXLDFLAGS)
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@
$(CXXLDFLAGS)
\
@NDB_SCI_LIBS@
mysqltest_embedded_LINK
=
$(CXXLINK)
mysqltest_embedded_LINK
=
$(CXXLINK)
mysqltest_embedded_SOURCES
=
mysqltest.c
mysqltest_embedded_SOURCES
=
mysqltest.c
...
...
ndb/src/common/transporter/SCI_Transporter.cpp
View file @
4cdf0fab
This diff is collapsed.
Click to expand it.
ndb/src/common/transporter/SCI_Transporter.hpp
View file @
4cdf0fab
...
@@ -54,12 +54,12 @@
...
@@ -54,12 +54,12 @@
* local segment, the SCI transporter connects to a segment created by another
* local segment, the SCI transporter connects to a segment created by another
* transporter at a remote node, and the maps the remote segment into its
* transporter at a remote node, and the maps the remote segment into its
* virtual address space. However, since NDB Cluster relies on redundancy
* virtual address space. However, since NDB Cluster relies on redundancy
* at the network level, by using dual SCI adapters communica
* at the network level, by using dual SCI adapters communication can be
*
* maintained even if one of the adapter cards fails (or anything on the
* network this adapter card exists in e.g. an SCI switch failure).
*
*
*/
*/
/**
/**
* class SCITransporter
* class SCITransporter
* @brief - main class for the SCI transporter.
* @brief - main class for the SCI transporter.
...
@@ -84,16 +84,6 @@ public:
...
@@ -84,16 +84,6 @@ public:
sci_error_t
createSequence
(
Uint32
adapterid
);
sci_error_t
createSequence
(
Uint32
adapterid
);
/**
* starts a sequence for error checking.
* The actual checking that a sequence is correct is done implicitly
* in SCIMemCpy (in doSend).
* @param adapterid the adapter on which to start the sequence.
* @return SCI_ERR_OK if ok, otherwize something else.
*/
sci_error_t
startSequence
(
Uint32
adapterid
);
/** Initiate Local Segment: create a memory segment,
/** Initiate Local Segment: create a memory segment,
* prepare a memory segment, map the local segment
* prepare a memory segment, map the local segment
* into memory space and make segment available.
* into memory space and make segment available.
...
@@ -159,7 +149,6 @@ private:
...
@@ -159,7 +149,6 @@ private:
bool
m_mapped
;
bool
m_mapped
;
bool
m_initLocal
;
bool
m_initLocal
;
bool
m_sciinit
;
bool
m_sciinit
;
Uint32
m_swapCounter
;
Uint32
m_failCounter
;
Uint32
m_failCounter
;
/**
/**
* For statistics on transfered packets
* For statistics on transfered packets
...
@@ -195,7 +184,6 @@ private:
...
@@ -195,7 +184,6 @@ private:
*/
*/
Uint32
m_reportFreq
;
Uint32
m_reportFreq
;
Uint32
m_adapters
;
Uint32
m_adapters
;
Uint32
m_numberOfRemoteNodes
;
Uint32
m_numberOfRemoteNodes
;
...
...
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