----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6325/#review10394 -----------------------------------------------------------
Do we delete DB rows for error conditions for any other resources in CS as well or do we want to give snapshots a different treatment here ? I am somehow not very comfortable doing hard delete here. - Nitin Mehta On Aug. 11, 2012, 1:13 a.m., mice xia wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6325/ > ----------------------------------------------------------- > > (Updated Aug. 11, 2012, 1:13 a.m.) > > > Review request for cloudstack, Nitin Mehta and edison su. > > > Description > ------- > > changes: > marked failed snapshots as Error and expunge them in a background thread, the > cleanup interval is storage.cleanup.interval > > > This addresses bug CS-15823. > > > Diffs > ----- > > server/src/com/cloud/storage/StorageManagerImpl.java c17379f > server/src/com/cloud/storage/dao/SnapshotDao.java 4bf54de > server/src/com/cloud/storage/dao/SnapshotDaoImpl.java ac4bb6f > server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java 6e3f9c1 > > Diff: https://reviews.apache.org/r/6325/diff/ > > > Testing > ------- > > verified > > > Thanks, > > mice xia > >