elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/storeops/recovery/CheckShardLocalOperation.java [41:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(shardMapManager.getCredentials(), shardMapManager.getRetryPolicy(), location, operationName);
    }

    /**
     * Whether this is a read-only operation.
     */
    @Override
    public boolean getReadOnly() {
        return true;
    }

    /**
     * Execute the operation against LSM in the current transaction scope.
     *
     * @param ts
     *            Transaction scope.
     * @return Results of the operation.
     */
    @Override
    public StoreResults doLocalExecute(IStoreTransactionScope ts) {
        StoreResults result = ts.executeCommandSingle(SqlUtils.getCheckIfExistsLocalScript().get(0));

        if (result.getStoreVersion() == null) {
            // Shard not deployed, which is an error condition.
            throw new ShardManagementException(ShardManagementErrorCategory.Recovery, ShardManagementErrorCode.ShardNotValid,
                    Errors._Recovery_ShardNotValid, this.getLocation(), this.getOperationName());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



elastic-db-tools/src/main/java/com/microsoft/azure/elasticdb/shard/storeops/recovery/GetShardsLocalOperation.java [42:67]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(shardMapManager.getCredentials(), shardMapManager.getRetryPolicy(), location, operationName);
    }

    /**
     * Whether this is a read-only operation.
     */
    @Override
    public boolean getReadOnly() {
        return true;
    }

    /**
     * Execute the operation against LSM in the current transaction scope.
     *
     * @param ts
     *            Transaction scope.
     * @return Results of the operation.
     */
    @Override
    public StoreResults doLocalExecute(IStoreTransactionScope ts) {
        StoreResults result = ts.executeCommandSingle(SqlUtils.getCheckIfExistsLocalScript().get(0));

        if (result.getStoreVersion() == null) {
            // Shard not deployed, which is an error condition.
            throw new ShardManagementException(ShardManagementErrorCategory.Recovery, ShardManagementErrorCode.ShardNotValid,
                    Errors._Recovery_ShardNotValid, this.getLocation(), this.getOperationName());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



