-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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(EntityService): batched transactions and ebean updates #8456
feat(EntityService): batched transactions and ebean updates #8456
Conversation
79e6c50
to
bb0c585
Compare
bb0c585
to
496362d
Compare
…actions # Conflicts: # metadata-io/src/main/java/com/linkedin/metadata/entity/EntityServiceImpl.java # metadata-io/src/main/java/com/linkedin/metadata/entity/EntityUtils.java # metadata-io/src/test/java/com/linkedin/metadata/entity/EbeanEntityServiceTest.java # metadata-io/src/test/java/com/linkedin/metadata/entity/EntityServiceTest.java # metadata-service/openapi-servlet/src/main/java/io/datahubproject/openapi/util/MappingUtil.java # metadata-service/restli-servlet-impl/src/main/java/com/linkedin/metadata/resources/entity/AspectResource.java # metadata-service/restli-servlet-impl/src/test/java/com/linkedin/metadata/resources/entity/AspectResourceTest.java # metadata-service/services/src/main/java/com/linkedin/metadata/entity/DeleteEntityService.java
Deployment failed with the following error:
|
36607ec
to
a5fe1bc
Compare
a5fe1bc
to
f87b74e
Compare
da4635f
to
91ae0c1
Compare
91ae0c1
to
b2c2236
Compare
b2c2236
to
fc4e48b
Compare
metadata-io/src/test/java/com/linkedin/metadata/AspectUtilsTest.java
Outdated
Show resolved
Hide resolved
…/datahub into ebean-batched-transactions
69553d5
to
7ff96a6
Compare
Create flag for PATCH - Only generate default aspects for UPSERT/CREATE change types |
Was going to implement a more nuanced solution, however for now simply adding back the legacy behavior for PATCH around generating default aspects. |
for (MetadataChangeProposal change : changes) { | ||
entityService.ingestProposal(change, getAuditStamp(actor), false); | ||
} | ||
entityService.ingestProposal(AspectsBatchImpl.builder() |
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.
Looks like all of these private static functions are the same, can we consolidate them?
Checklist