public void recover(
     VolumeManager fs,
     Tablet tablet,
     List<Path> logs,
     Set<String> tabletFiles,
     MutationReceiver mr)
     throws IOException {
   if (!enabled(tablet)) return;
   try {
     SortedLogRecovery recovery = new SortedLogRecovery(fs);
     KeyExtent extent = tablet.getExtent();
     recovery.recover(extent, logs, tabletFiles, mr);
   } catch (Exception e) {
     throw new IOException(e);
   }
 }
 private static boolean enabled(Tablet tablet) {
   return tablet.getTableConfiguration().getBoolean(Property.TABLE_WALOG_ENABLED);
 }