diff --git a/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c b/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c index c45c1943f3e8b742fea36f3b3f54a0762ccd5394..3e9084bd1119844300607d3772e7e124df596017 100644 --- a/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c +++ b/source/dnode/mgmt/mgmt_dnode/src/dmHandle.c @@ -42,7 +42,7 @@ static void dmProcessStatusRsp(SDnodeMgmt *pMgmt, SRpcMsg *pRsp) { pMgmt->pData->dropped = 1; dmWriteEps(pMgmt->pData); dInfo("dnode will exit since it is in the dropped state"); - exit(0); + raise(SIGINT); } } else { SStatusRsp statusRsp = {0};