-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add action emitNoChangeMetadataAuditEvent & add ingestionMode in mae #303
Conversation
dao-impl/ebean-dao/src/test/java/com/linkedin/metadata/dao/EbeanLocalDAOTest.java
Show resolved
Hide resolved
verify(_mockProducer, times(1)).produceMetadataAuditEvent(urn, null, aspect); | ||
verify(_mockProducer, times(1)).produceAspectSpecificMetadataAuditEvent(urn, null, aspect, null); | ||
verify(_mockProducer, times(0)).produceMetadataAuditEvent(urn, aspect, aspect); | ||
verify(_mockProducer, times(0)).produceAspectSpecificMetadataAuditEvent(urn, aspect, aspect, null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also not this line, but I see line 908/911 still have mentions of MAE_ONLY_WITH_OLD_VALUE_NULL
. Want to remove those (and elsewhere)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you think it makes more sense to remove it instead of having ut verifying it? I intended to keep it because I won't remove it from the enum, so want to remind ppl that do not use it.
@@ -24,4 +24,10 @@ enum BackfillMode { | |||
* Backfill only using MAE. Setting the old value in MAE payload as null. | |||
*/ | |||
MAE_ONLY_WITH_OLD_VALUE_NULL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add something here about the deprecation + not to use it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing comments
Summary
emitNoChangeMetadataAuditEvent
action with ingestionMode to support backfill into both live and backup index.backfillWithNewValue
actionChecklist