Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
8f607376
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8f607376
编写于
8月 11, 2017
作者:
H
Heikki Linnakangas
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unused fields from interconnect structs.
上级
1fe8f5c2
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
2 addition
and
15 deletion
+2
-15
src/backend/cdb/dispatcher/cdbconn.c
src/backend/cdb/dispatcher/cdbconn.c
+0
-1
src/backend/cdb/dispatcher/test/cdbgang_test.c
src/backend/cdb/dispatcher/test/cdbgang_test.c
+0
-2
src/backend/cdb/motion/ic_udpifc.c
src/backend/cdb/motion/ic_udpifc.c
+2
-4
src/include/cdb/cdbconn.h
src/include/cdb/cdbconn.h
+0
-1
src/include/cdb/cdbinterconnect.h
src/include/cdb/cdbinterconnect.h
+0
-7
未找到文件。
src/backend/cdb/dispatcher/cdbconn.c
浏览文件 @
8f607376
...
...
@@ -240,7 +240,6 @@ void cdbconn_initSegmentDescriptor(SegmentDatabaseDescriptor *segdbDesc,
segdbDesc
->
conn
=
NULL
;
segdbDesc
->
motionListener
=
0
;
segdbDesc
->
backendPid
=
0
;
segdbDesc
->
myAgent
=
NULL
;
/*whoami*/
segdbDesc
->
whoami
=
NULL
;
...
...
src/backend/cdb/dispatcher/test/cdbgang_test.c
浏览文件 @
8f607376
...
...
@@ -175,7 +175,6 @@ static void test__createWriterGang(void **state)
assert_int_equal
(
segdb
->
errcode
,
0
);
assert_int_equal
(
segdb
->
error_message
.
len
,
0
);
assert_int_equal
(
segdb
->
motionListener
,
motionListener
);
assert_int_equal
(
segdb
->
myAgent
,
NULL
);
assert_int_equal
(
segdb
->
segindex
,
i
);
validateCdbInfo
(
segdb
->
segment_database_info
,
segdb
->
segindex
);
...
...
@@ -225,7 +224,6 @@ static void test__createReaderGang(void **state)
assert_int_equal
(
segdb
->
errcode
,
0
);
assert_int_equal
(
segdb
->
error_message
.
len
,
0
);
assert_int_equal
(
segdb
->
motionListener
,
motionListener
);
assert_int_equal
(
segdb
->
myAgent
,
NULL
);
assert_int_equal
(
segdb
->
segindex
,
i
);
validateCdbInfo
(
segdb
->
segment_database_info
,
segdb
->
segindex
);
...
...
src/backend/cdb/motion/ic_udpifc.c
浏览文件 @
8f607376
...
...
@@ -2663,8 +2663,6 @@ startOutgoingUDPConnections(ChunkTransportState *transportStates,
conn
->
state
=
mcsSetupOutgoingConnection
;
conn
->
route
=
i
++
;
conn
->
waitEOS
=
false
;
(
*
pOutgoingCount
)
++
;
}
...
...
@@ -6600,7 +6598,7 @@ dumpConnections(ChunkTransportStateEntry *pEntry, const char *fname)
fprintf
(
ofile
,
"conns[%d] motNodeId=%d: remoteContentId=%d pid=%d sockfd=%d remote=%s local=%s "
"capacity=%d sentSeq=%d receivedAckSeq=%d consumedSeq=%d rtt="
UINT64_FORMAT
" dev="
UINT64_FORMAT
" deadlockCheckBeginTime="
UINT64_FORMAT
" route=%d msgSize=%d msgPos=%p"
" recvBytes=%d tupleCount=%d
waitEOS=%d
stillActive=%d stopRequested=%d "
" recvBytes=%d tupleCount=%d stillActive=%d stopRequested=%d "
"state=%d
\n
"
,
i
,
pEntry
->
motNodeId
,
conn
->
remoteContentId
,
...
...
@@ -6610,7 +6608,7 @@ dumpConnections(ChunkTransportStateEntry *pEntry, const char *fname)
conn
->
localHostAndPort
,
conn
->
capacity
,
conn
->
sentSeq
,
conn
->
receivedAckSeq
,
conn
->
consumedSeq
,
conn
->
rtt
,
conn
->
dev
,
conn
->
deadlockCheckBeginTime
,
conn
->
route
,
conn
->
msgSize
,
conn
->
msgPos
,
conn
->
recvBytes
,
conn
->
tupleCount
,
conn
->
waitEOS
,
conn
->
stillActive
,
conn
->
stopRequested
,
conn
->
recvBytes
,
conn
->
tupleCount
,
conn
->
stillActive
,
conn
->
stopRequested
,
conn
->
state
);
fprintf
(
ofile
,
"conn_info [%s: seq %d extraSeq %d]: motNodeId %d, crc %d len %d "
"srcContentId %d dstDesContentId %d "
...
...
src/include/cdb/cdbconn.h
浏览文件 @
8f607376
...
...
@@ -57,7 +57,6 @@ typedef struct SegmentDatabaseDescriptor
uint32
motionListener
;
/* interconnect listener port */
int4
backendPid
;
char
*
whoami
;
/* QE identifier for msgs */
struct
SegmentDatabaseDescriptor
*
myAgent
;
}
SegmentDatabaseDescriptor
;
...
...
src/include/cdb/cdbinterconnect.h
浏览文件 @
8f607376
...
...
@@ -235,9 +235,6 @@ struct MotionConn
int
tupleCount
;
/* indicate whether main thread is waiting EOS ack on this connection */
bool
waitEOS
;
bool
stillActive
;
bool
stopRequested
;
...
...
@@ -246,7 +243,6 @@ struct MotionConn
uint64
wakeup_ms
;
struct
icpkthdr
conn_info
;
bool
isMirror
;
struct
CdbProcess
*
cdbProc
;
int
remoteContentId
;
...
...
@@ -274,9 +270,6 @@ struct MotionConn
uint64
stat_max_resent
;
uint64
stat_count_dropped
;
/* Indicate whether an EOS is received and acked. */
bool
eosAcked
;
/*
* used by the sender.
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录