There was some discussion (below) about investigating if there should be more strict checks in regards to table state when using tableOperations().online(). Not sure the extent of the current checks, but it at least allows a table to be onlined when it is in a NEW table state which is questionable.
Does the following sound correct? Want to make sure I understand these changes.
- Without these changes the table would be in the new state, so
client.tableOperations().isOnline(destTable) would have returned false.
- The call to
client.tableOperations().online(destTable, true) just kinda fix things for the rest of the test.
If that is true, it makes me wonder if the call client.tableOperations().online(destTable, true) should be a bit more strict about what table states it will transition.
Originally posted by @keith-turner in #4115 (comment)