dlmarion opened a new issue, #6473:
URL: https://github.com/apache/accumulo/issues/6473
**Test name(s)**
DeleteAndVerifyFileRemovalsIT.testDeletingClonedTablePersistsFiles
**Describe the failure observed**
```
java.lang.IllegalStateException: . Timeout exceeded
at org.apache.accumulo.test.util.Wait.waitFor(Wait.java:125)
at org.apache.accumulo.test.util.Wait.waitFor(Wait.java:89)
at
org.apache.accumulo.test.functional.DeleteAndVerifyFileRemovalsIT.testDeletingClonedTablePersistsFiles(DeleteAndVerifyFileRemovalsIT.java:261)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
```
**Testing Environment:**
- Version of this project: 2.1 branch
**Additional context**
The table delete operation on line 238 will not remove the files if
`MANAGER_TABLE_DELETE_OPTIMIZATION` is `true` (which it is by default).
Instead, it creates gc candidates and relies on the garbage collector to remove
the files. The check on line 261 could fail if the garbage collector runs and
deletes the files between the time the table is deleted and the check is
performed (lines 238 and 261).
https://github.com/apache/accumulo/blob/da5c8d1e784988311540fff1d220a238c1cbf53c/test/src/main/java/org/apache/accumulo/test/functional/DeleteAndVerifyFileRemovalsIT.java#L238-L261
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]