DomGarguilo commented on issue #4045:
URL: https://github.com/apache/accumulo/issues/4045#issuecomment-1867971146
Bit of an update on this. It looks like the bug (as far as I can tell this
is not the expected behavior) is not caused by the scenario that I outline
above. It looks like `setKeepOffline(true)` in the `ImportConfiguration`
builder does not create the new table in an offline state as it is supposed to
but rather the new table gets created and is stuck in the `NEW` table state.
This can be demonstrated by adding the following line to
`ImportExportIT.testExportImportOffline()` which uses `setKeepOffline(true)`
when importing to a new table:
```java
// wait for the new table created by importTable to leave the NEW table state
Wait.waitFor(() -> getServerContext().getTableState(TableId.of(tableId)) !=
TableState.NEW, SECONDS.toMillis(30),
SECONDS.toMillis(1), "Table stuck in NEW table state");
```
Adding that after this part of the IT will cause an exception:
https://github.com/apache/accumulo/blob/67fd967415612ab0770b422a5b24430655275946/test/src/main/java/org/apache/accumulo/test/ImportExportIT.java#L285-L291
--
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]