shouldRetryNoMatterWhichApi: function()

in lib/retry/retry_util.js [5:23]


    shouldRetryNoMatterWhichApi: function (exception) {
        var errorCode = exception.code;
        var errorMessage = exception.message;

        if (errorCode == "OTSRowOperationConflict" ||
            errorCode == "OTSNotEnoughCapacityUnit" ||
            errorCode == "OTSTableNotReady" ||
            errorCode == "OTSPartitionUnavailable" ||
            errorCode == "OTSServerBusy" ||
            errorCode == "OTSOperationThrottled") {
            return true;
        }

        if (errorCode == "OTSQuotaExhausted" && errorMessage == "Too frequent table operations.") {
            return true;
        }

        return false;
    },