code: public static void checkShard(Olap olap, ApplicationDefinition appDef, String shard) {
          VDirectory appDir = olap.getRoot(appDef);
          VDirectory shardDir = appDir.getDirectory(shard);
          checkShard(shardDir);
      }
docs: check that all segments in the shard are valid