Uh oh!
There was an error while loading. Please reload this page.
PHOENIX-6197 AggregateIT and StoreNullsIT hangs - #933
Conversation
| // In this class we depend on the major compaction to be done instantly | ||
| // so wo are overwriting the PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY to 0 | ||
| @BeforeClass |
There was a problem hiding this comment.
I would expect the change in TestUtil to fix this case as well.
Why do we need to override PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY here ?
There was a problem hiding this comment.
My change in TestUtil solves the hanging tests, because there we waited until a put and delete is deleted, which never happened because they were just done before calling the major compaction with a PHOENIX_MAX_LOOKBACK_AGE of an hour.
In StoreNullsIT in testDeletes, we upsert a line into a table, delete it run the major compaction.
Then open a historical connection after the upsert but before the delete, previously when PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY was set to 0 we could not read back the data, but if it is set to an hour, the major compaction will not delete that. So the test would fail.
There was a problem hiding this comment.
But the comment here is not accurate, thats right.
Uh oh!
There was an error while loading. Please reload this page.
stoty
commented
Oct 21, 2020
💔 -1 overall
This message was automatically generated. |
cd92fb4 to
dc6e882Comparestoty
commented
Oct 22, 2020
💔 -1 overall
This message was automatically generated. |
gjacoby126
left a comment
There was a problem hiding this comment.
+1, thanks for tracking this down.
| Put put = new Put(markerRowKey); | ||
| put.addColumn(QueryConstants.DEFAULT_COLUMN_FAMILY_BYTES, QueryConstants.EMPTY_COLUMN_VALUE_BYTES, QueryConstants.EMPTY_COLUMN_VALUE_BYTES); | ||
| long timestamp = 0; |
stoty
commented
Oct 23, 2020
Addressed Geoffrey's NIT, and committed to fix the build ASAP. |
stoty
commented
Oct 23, 2020
StoreNullsIT fails when running as part of the full IT suite. |
Opened a PR for the addendum at #939 so that the precommit tests get executed on it. |
gjacoby126
commented
Nov 20, 2020
JIRA is resolved, closing PR |
No description provided.