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