cuddly-dinner-641
11/09/2023, 8:38 PMcuddly-dinner-641
11/13/2023, 2:48 PMorange-night-91387
11/13/2023, 11:24 PMcuddly-dinner-641
11/14/2023, 2:52 PMnutritious-bird-77396
11/14/2023, 5:12 PMbrainy-tent-14503
11/14/2023, 5:18 PMES_BULK_ENABLE_BATCH_DELETE try enabling deletes to be included in the same batchbrainy-tent-14503
11/14/2023, 5:21 PMELASTICSEARCH_INDEX_BUILDER_REFRESH_INTERVAL_SECONDSbrainy-tent-14503
11/14/2023, 5:21 PMbrainy-tent-14503
11/14/2023, 5:21 PMcuddly-dinner-641
11/14/2023, 5:42 PMcuddly-dinner-641
11/14/2023, 5:52 PMbrainy-tent-14503
11/14/2023, 6:01 PMsystem-updatebrainy-tent-14503
11/14/2023, 6:01 PMcuddly-dinner-641
11/15/2023, 8:35 PMES_BULK_ENABLE_BATCH_DELETE allowed us to get the bulk processor honoring batch size again. so I guess we must have been doing deletes somehowcuddly-dinner-641
11/15/2023, 8:36 PM// Step 2. For all aspects, attempt to update Graph
SystemMetadata systemMetadata = event.getSystemMetadata();
if (_graphDiffMode && !(_graphService instanceof DgraphGraphService)
&& (systemMetadata == null || systemMetadata.getProperties() == null
|| !Boolean.parseBoolean(systemMetadata.getProperties().get(FORCE_INDEXING_KEY)))) {
updateGraphServiceDiff(urn, aspectSpec, previousAspect, aspect, event);
} else {
updateGraphService(urn, aspectSpec, aspect, event);
}
}cuddly-dinner-641
11/15/2023, 8:38 PMorange-night-91387
11/15/2023, 8:50 PMcuddly-dinner-641
11/15/2023, 9:00 PMcuddly-dinner-641
11/17/2023, 6:24 PMES_BULK_ENABLE_BATCH_DELETE=true improved performance by ~3x
our new plan is to automate a process for Elasticsearch Refreshes that works something like this:
• Configure upgrade-job to publish the restore events to a new, dedicated "restore-MCL" topic
• deploy a second instance of MAE-consumer (call it "restore-consumer") which loads data from the restore-mcl topic into a brand new empty set of ElasticSearch indexes
• wait for job to complete
• shut down restore-consumer
• point original mae-consumer at the new ElasticSearch indexes & replay X hours of events
• point GMS/rest of datahub at new Elasticsearch indexes
• delete old ES indexes
the goals there are:
• we do not have any impact to the live GMS/ElasticSearch indexes while we reload from scratch
• action handlers dont have to reprocess a full set of MCL events (not needed since they don't skip failed messages)
Interested in any feedback with this planorange-night-91387
11/17/2023, 6:47 PM