Eric Pai created IOTDB-3999:
-------------------------------
Summary: Avoid using PlanNodeType.ordinal() in serializing
Key: IOTDB-3999
URL: https://issues.apache.org/jira/browse/IOTDB-3999
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Engine
Reporter: Eric Pai
Assignee: Eric Pai
Fix For: master branch, 0.10.2
The ordinal() of an Enum is changed via the element definition order. If one
developer changes the order, there's no way to fingure out, bugs will happen.
So I think it's better to avoid using ordinal() in serializing.
The issue exists in WALNodeSerializing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)