Skip to content

Commit dbdc4b4

Browse files
authored
fix confignode start (apache#16527)
1 parent b2175ff commit dbdc4b4

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/CnToDnInternalServiceAsyncRequestManager.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,10 @@ protected void initActionMapBuilder() {
470470
CnToDnAsyncRequestType.STOP_AND_CLEAR_DATA_NODE,
471471
(req, client, handler) ->
472472
client.stopAndClearDataNode((DataNodeTSStatusRPCHandler) handler));
473+
actionMapBuilder.put(
474+
CnToDnAsyncRequestType.ENABLE_SEPARATION_OF_ADMIN_POWERS,
475+
(req, client, handler) ->
476+
client.enableSeparationOfAdminPower((DataNodeTSStatusRPCHandler) handler));
473477
}
474478

475479
@Override

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/DataNodeInternalRPCServiceImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,6 +2291,11 @@ public TSStatus invalidatePermissionCache(TInvalidatePermissionCacheReq req) {
22912291
return RpcUtils.getStatus(TSStatusCode.CLEAR_PERMISSION_CACHE_ERROR);
22922292
}
22932293

2294+
@Override
2295+
public TSStatus enableSeparationOfAdminPower() throws TException {
2296+
return null;
2297+
}
2298+
22942299
@Override
22952300
public TSStatus merge() throws TException {
22962301
try {

iotdb-protocol/thrift-datanode/src/main/thrift/datanode.thrift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,11 @@ service IDataNodeRPCService {
982982
*/
983983
common.TSStatus invalidatePermissionCache(TInvalidatePermissionCacheReq req)
984984

985+
/**
986+
* Enable separation of admin powers in datanode
987+
**/
988+
common.TSStatus enableSeparationOfAdminPower()
989+
985990
/**
986991
* Config node will create a pipe plugin on a list of data nodes.
987992
*

0 commit comments

Comments
 (0)