You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "William Lo (Jira)" <ji...@apache.org> on 2024/08/22 21:12:00 UTC
[jira] [Created] (GOBBLIN-2141) Enable simulate retention jobs using the actual trash class instead of mocktrash
William Lo created GOBBLIN-2141:
-----------------------------------
Summary: 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
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)