Currently, when the "ignore failure" flag of a WorkItem, its Do() method should always return true and Rollback() should be a no-op. Sometimes, we want only one of these 2 behaviors.
We should have 2 separate flags:
- "best effort": A WorkItemList should continue its execution if Do() returns false and Do() can perform partial work.
- "no rollback" Rollback() is a no-op.
Note also that not all WorkItems handle the "ignore failure" flag correctly.
Comment 1 by grt@chromium.org
, Apr 8 2016