You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xinzhongtianxia (Jira)" <ji...@apache.org> on 2022/06/24 03:11:00 UTC

[jira] [Created] (IOTDB-3641) [confignode] Fix system-properties:confignode_list

xinzhongtianxia created IOTDB-3641:
--------------------------------------

             Summary: [confignode] Fix system-properties:confignode_list
                 Key: IOTDB-3641
                 URL: https://issues.apache.org/jira/browse/IOTDB-3641
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: xinzhongtianxia


If a confignode cannot join consensus group but startup successfully, here, if we manually restart it with a hope that it will join the consensus successfully, we will get a BadNodeUrlException.

The root cause is:

1. Since the confignode haven't join a consensus group, so it has no opportunity to set confignode_list to system-properties and leaves a key (confignode_list=) with an empty value in the file.
2. When we try reading the confignode_list from system-properties, we will get an empty string, not a `null`.
3. The BadNodeUrlException will be throw because we treated empty string asĀ  url.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)