Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
do not aggressively check bucket on backing store.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Soman committed Dec 1, 2011
1 parent cd2868e commit fcaa6c7
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,16 +256,6 @@ public void check() throws EucalyptusCloudException {
} catch (EucalyptusCloudException ex) {
LOG.fatal(ex);
}
EntityWrapper<BucketInfo> db = EntityWrapper.get(BucketInfo.class);
BucketInfo bucketInfo = new BucketInfo();
List<BucketInfo> bucketInfos = db.query(bucketInfo);
for (BucketInfo bucket : bucketInfos) {
if (!storageManager.bucketExists(bucket.getBucketName()))
bucket.setHidden(true);
else
bucket.setHidden(false);
}
db.commit();
}

public ListAllMyBucketsResponseType listAllMyBuckets(
Expand Down

0 comments on commit fcaa6c7

Please sign in to comment.