do not generate channel id when server id is not initialized
This commit is contained in:
@ -342,6 +342,9 @@ int ObPxCoordOp::inner_open()
|
|||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
ObDfo *root_dfo = NULL;
|
ObDfo *root_dfo = NULL;
|
||||||
if (OB_FAIL(ObPxReceiveOp::inner_open())) {
|
if (OB_FAIL(ObPxReceiveOp::inner_open())) {
|
||||||
|
} else if (GCTX.server_id_ <= 0) {
|
||||||
|
ret = OB_SERVER_IS_INIT;
|
||||||
|
LOG_WARN("Server is initializing", K(ret), K(GCTX.server_id_));
|
||||||
} else if (OB_FAIL(post_init_op_ctx())) {
|
} else if (OB_FAIL(post_init_op_ctx())) {
|
||||||
LOG_WARN("init operator context failed", K(ret));
|
LOG_WARN("init operator context failed", K(ret));
|
||||||
} else if (FALSE_IT(px_sequence_id_ = GCTX.sql_engine_->get_px_sequence_id())) {
|
} else if (FALSE_IT(px_sequence_id_ = GCTX.sql_engine_->get_px_sequence_id())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user