Updated the comments as per cr comments.

This commit is contained in:
Sahil Palvia 2017-09-14 15:15:24 -07:00
parent f9da89a41f
commit 8d0e9463ee

View file

@ -564,7 +564,7 @@ public class LeaseManager<T extends Lease> implements ILeaseManager<T> {
protected DependencyException convertAndRethrowExceptions(String operation, String leaseKey, AmazonClientException e)
throws ProvisionedThroughputException, InvalidStateException {
if (e instanceof ProvisionedThroughputExceededException) {
LOG.warn("ProvisionedThroughputExceededException thrown, increase the IOPs on the lease table");
LOG.warn("Provisioned Throughput on the lease table has been exceeded. It's recommended that you increase the IOPs on the table. Failure to increase the IOPs may cause the application to not make progress.");
throw new ProvisionedThroughputException(e);
} else if (e instanceof ResourceNotFoundException) {
// @formatter:on