* convert the old stat to new stat
* @param oldStat the old stat
* @return the new stat
*/
private StatPersisted convertStat(StatPersistedV1 oldStat) {
StatPersisted stat = new StatPersisted();
stat.setAversion(oldStat.getAversion());
stat.setCtime(oldStat.getCtime());
stat.setCversion(oldStat.getCversion());
stat.setCzxid(oldStat.getCzxid());
stat.setEphemeralOwner(oldStat.getEphemeralOwner());
stat.setMtime(oldStat.getMtime());
stat.setMzxid(oldStat.getMzxid());
stat.setVersion(oldStat.getVersion());
return stat;
}