Skip to content

PHOENIX-5875 - Optional logging for IndexTool verification#782

Merged
gjacoby126 merged 1 commit intoapache:4.xfrom
gjacoby126:PHOENIX-5875
May 22, 2020
Merged

PHOENIX-5875 - Optional logging for IndexTool verification#782
gjacoby126 merged 1 commit intoapache:4.xfrom
gjacoby126:PHOENIX-5875

Conversation

@gjacoby126
Copy link
Copy Markdown
Contributor

No description provided.

}
}

@Test
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests should move into IndexToolForNonTxGlobalIndexIT after the recent restructuring of IndexToolIT


private static final Option DISABLE_LOGGING_OPTION = new Option("dl",
"disable-logging", true
, "Disable logging of failed verification rows for BEFORE, " +
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, we cannot disable logging for ONLY mode?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@priyankporwal ONLY counts as BEFORE.

IndexDisableLoggingType loggingDisableType = IndexDisableLoggingType.fromValue(loggingDisableValue);
if (loggingDisableType != IndexDisableLoggingType.BEFORE &&
loggingDisableType != IndexDisableLoggingType.AFTER &&
loggingDisableType != IndexDisableLoggingType.BOTH) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:spacing is off

@gjacoby126 gjacoby126 force-pushed the PHOENIX-5875 branch 2 times, most recently from 3943ce2 to 242515f Compare May 21, 2020 04:03
Copy link
Copy Markdown
Contributor

@swaroopak swaroopak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gjacoby126

Copy link
Copy Markdown
Contributor

@kadirozde kadirozde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 1, Thanks

@gjacoby126
Copy link
Copy Markdown
Contributor Author

A few test flappers and minicluster crashes happened on the Pre-Commit job. Reran them manually locally and they passed, so I'm going to commit this.

@gjacoby126 gjacoby126 merged commit 5e4044f into apache:4.x May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants