Fix bugs of Tablet Scheduler (#600)

This commit is contained in:
Mingyu Chen
2019-01-29 15:35:07 +08:00
committed by GitHub
parent 722eec16bb
commit daa9d975ca
28 changed files with 176 additions and 97 deletions

View File

@ -50,8 +50,7 @@ public class ReplicaPersistInfoTest {
// 2. Read objects from file
DataInputStream dis = new DataInputStream(new FileInputStream(file));
ReplicaPersistInfo rInfo2 = new ReplicaPersistInfo();
rInfo2.readFields(dis);
ReplicaPersistInfo rInfo2 = ReplicaPersistInfo.read(dis);
// 3. delete files
dis.close();