public TDataNodeLocation getOldNode() {
    return oldNode;
  }
Constructor.

@param regionId update the region location
@param oldNode remove the old location
@param newNode add the new location
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/partition/UpdateRegionLocationPlan.java