[ https://issues.apache.org/jira/browse/GOBBLIN-2141?focusedWorklogId=931544&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-931544 ]
ASF GitHub Bot logged work on GOBBLIN-2141: ------------------------------------------- Author: ASF GitHub Bot Created on: 23/Aug/24 18:09 Start Date: 23/Aug/24 18:09 Worklog Time Spent: 10m Work Description: Will-Lo merged PR #4036: URL: https://github.com/apache/gobblin/pull/4036 Issue Time Tracking ------------------- Worklog Id: (was: 931544) Time Spent: 0.5h (was: 20m) > Enable simulate retention jobs using the actual trash class instead of > mocktrash > -------------------------------------------------------------------------------- > > Key: GOBBLIN-2141 > URL: https://issues.apache.org/jira/browse/GOBBLIN-2141 > Project: Apache Gobblin > Issue Type: Improvement > Reporter: William Lo > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > Simulation mode in retention relies on the usage of MockTrash, which doesn't > always reflect the details of moving trash to certain spaces that the actual > Trash class implements, and some of the details of which folders it creates. > The mock trash class also makes it difficult to simulate behaviors on any > classes that extend a part of Trash class since they would have to create a > corresponding mock class, which makes the purpose of the simulate mode moot > since it's not actually simulating the live behavior. > We want to have an opt-in configuration (to not break existing simulation > jobs of retention) to have the Trash class log out which files it is moving > to its trash location. -- This message was sent by Atlassian Jira (v8.20.10#820010)