Priyesh Karatha created HDDS-17852:
--------------------------------------
Summary: Fix TestKeyLifecycleService compilation failure after
HDDS-17783 and HDDS-17834
Key: HDDS-17852
URL: https://issues.apache.org/jira/browse/HDDS-17852
Project: Apache Ozone
Issue Type: Bug
Components: OM
Reporter: Priyesh Karatha
Assignee: Priyesh Karatha
ozone-manager test compilation fails on master:
{code:java}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/runner/work/ozone/ozone/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/service/TestKeyLifecycleService.java:[1105,7]
cannot find symbol
symbol: method
runSingleLifecycleScan(java.lang.String,java.lang.String,boolean)
location: class
org.apache.hadoop.ozone.om.service.TestKeyLifecycleService.Normal
[INFO] 1 error {code}
- HDDS-17834 (#12064) changed
testFSOScanSkipsDirectoriesWhenCachedDirectoryMaxCountExceeded to call
runSingleLifecycleScan(volume, bucket, false). That kept the lifecycle policy
until the scan finished, so the scan state could be saved.
- HDDS-17783 (#12030) removed runSingleLifecycleScan(String, String,
boolean). It rewrote runSingleLifecycleScanAndDeleteConfiguration so the policy
is deleted only after the scan has finished (once the next task reaches its
start injector). The policy is not deleted while the task runs, as it was
before.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]