Repository navigation
Improve distributed reindex speed and fix bugs - #25758
Conversation
) When using the K8s pipeline client with useOMJobOperator=false, scheduled pipelines (CronJobs) were failing because pipelineRunId was set to the literal string "{{ omjob.uid }}" instead of a valid UUID. This template syntax is designed for the OMJob operator to resolve at runtime, but standard K8s CronJobs have no templating engine. The fix uses the Kubernetes Downward API to inject the pod's own UID (metadata.uid) as the pipelineRunId. Pod UIDs are valid UUIDv4 values and unique per execution, making them suitable replacements. Co-authored-by: Claude Opus 4.5 <[email protected]>
* Rename deny list recognizer * Update generated TypeScript types --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor: replace testCaseResultSummary with lastResultTimestamp in ES index * feat: add lean batch SQL queries for test suite result summaries * fix: recompute related test suite results on pipeline completion * test: update UI sort field and tests for lastResultTimestamp
* Initial plan * Revert MUITagSuggestion changes from PR #25588 Co-authored-by: karanh37 <[email protected]> * Revert test file changes from PR #25588 Co-authored-by: karanh37 <[email protected]> * fix test --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: karanh37 <[email protected]> Co-authored-by: karanh37 <[email protected]>
…25627) * Flatten Custom Properties * Fix UI Side * Fix Reindex matching old index conflict with alias * Hacky wacky * Review comments * Add tests for custom properties to check field don't exceed * Change to nested * Align tests * Fix Column and DataModel and subassets customProperties * Fix extension updates * Fix Description Updates * Temp fix from other PR * Fix Test failures * Fix Review comments * Fix Tests for playwright
* Batched Import * Batched Import * Batched Import * Optimised Internal methods for adding relationships for import, fixed circular dependency, generated changeEvents (#25582) * Fix tag clearing and circular dependency detection in batch CSV imports - **Tag clearing fix**: Add deleteTagsByTarget before applying new tags in batch imports to match single entity import behavior, ensuring empty CSV fields properly clear existing tags - **Circular dependency detection fix**: Pre-track entities in dryRunCreatedEntities before parent resolution to enable proper circular reference validation during CSV team imports - Resolves test failures in TeamResourceIT.test_importCsv_circularDependency_trueRun and tag-related import issues - Maintains batch import performance while restoring pre-batch-import validation contracts * improve storeRelationshipsInternal internal methods - make them truly batched operations * - Add storeEntities override to all repositories (57 repos) - Add batch lock check to HierarchicalLockManager - Add batch cache write to EntityRepository - Fix createManyEntitiesForImport with batched operations - Fix updateManyEntitiesForImport with batched operations - Add change event creation in flushPendingEntityOperations --------- Co-authored-by: sonika-shah <[email protected]> * have default implementation of storeEntities * add batch relationship clearing while updating during import * Fix column import failing for tables in same batch When importing CSV with batching, column rows failed to find their parent table because the table was queued but not yet persisted to DB. Added pendingEntityFQNs set to track entities in current batch. When processing columns, check if table is in this set - if so, add columns directly to the queued table object instead of creating a patch context. This ensures columns are persisted with the table in a single operation. * fix UserResourceTest, TestCaseResourceIT * Fix Circular Dependency Validation for GlossaryTerms * Batch Insert ChangeEvents and Process Async * fix: defer CSV result reporting until batch operations complete to ensure accuracy * fix: ensure custom properties persist during batch CSV imports * Fix rows processed count * Fix: Moving of glossaryTerms to correctly detect update operation during import * Increment version history * fix TeamResourceTest * Fix: Mutual Exclusivity Tag Validation during dry run, Deferring of failures * Fix: Table Constraints Preservation on table import * revert validateCsvString logic, needed for csv validation * revert test changes * Use dependency resolution to flush pending operations to find the parent * fix search groping based on entityType in updateEntitiesBulk with tests * Fetch original from db as cache takes some time to reload * Test Cases * Remove logs, fix TableResourceIT, Fix ChangeEvent Race Condition --------- Co-authored-by: Ram Narayan Balaji <[email protected]> Co-authored-by: sonika-shah <[email protected]> Co-authored-by: Ram Narayan Balaji <[email protected]> Co-authored-by: Karan Hotchandani <[email protected]> Co-authored-by: karanh37 <[email protected]>
🔍 CI failure analysis for a681c9f: Maven build and Test Report jobs show 6 DataProductResourceTest failures that were already FIXED in intermediate commits. Current persistent issues: 7 Python Trino tests (entities not in search indexes) + frontend custom property search/indexing issues.IssueUPDATE: DataProductResourceTest failures (6 tests) were FIXED in intermediate commits. Current CI failures show 7 persistent Python Trino tests + frontend custom property issues remain. Root CauseMaven Build and Test Report Jobs - ALREADY FIXEDJobs: maven-sonarcloud-ci (62970601913) and Test Report (62997052210) 6 DataProductResourceTest failures (FIXED in later commits):
Status: These failures were already analyzed in previous CI runs and confirmed FIXED in intermediate commits. The CI jobs are running on commit Backend Python Integration Test Failures (PERSISTENT - RELATED TO PR)Job: py-run-tests (3.10) - 62970601963 Results: 3,715 unit tests passed ✅, 7 integration test errors ❌ 7 Failed Tests (ALL Trino Classifier):
Error: Root Cause: Affected Tables:
Why This Is Related to PR:
Frontend Shard 4/6 - Custom Property Search/Indexing Issues (PERSISTENT - POSSIBLY RELATED TO PR)Job: playwright-ci-postgresql shard 4/6 (62970601620) Results: 645 tests: 630 passed, 1 failed, 14 flaky (97.7% pass rate) 1 Persistent Failure:
14 Flaky Tests:
Why This May Be Related to PR:
Backend Java Integration Test SummaryOverall Status:
Frontend Shards 2, 5, 6 - UI Element Issues (LIKELY UNRELATED)Pattern: Edit button duplication, loader visibility, UI state issues
Why Likely Unrelated:
DetailsCurrent Persistent Issues Summary:
Common Thread: Persistent failures involve entity/metadata availability in search indexes The distributed search indexing changes (flush intervals 5s→1s, batch sizes 5→100) may have introduced:
Related to PR Changes?Maven Build + Test Report (6 failures): ✅ FIXED - Were related to PR, now resolved Backend Java (2 timing issues): ✅ YES - Minor edge cases, 99.99% pass rate Backend Python (7 failures): ✅ YES - Entities not in search indexes (PERSISTENT) Shard 4/6 (1 + 14 flaky): Shards 2, 5, 6 (6 + 13 flaky): ❌ LIKELY NO - UI element issues Code Review 👍 Approved with suggestions 2 resolved / 6 findingsSolid performance improvements and per-entity index promotion feature. All 4 previous findings remain unresolved: missing cleanup on exception, TOCTOU race in error tracking, inconsistent ListFilter for time series, and createSource using live batchSize instead of snapshot.
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
Improve distributed reindex speed and fix bugs
Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
ElasticSearchBulkSink.javaandOpenSearchBulkSink.javafor faster batch processingSearchIndexExecutor.javawith more aggressive tuning thresholdsDefaultRecreateHandler.javabefore alias attachment to prevent conflictsBULK_OPERATION_METADATA_OVERHEADconstant to avoid redundant calculationsPaginatedEntitiesSource.javaandPaginatedEntityTimeSeriesSource.javato eliminate repeated database queriesSearchClusterMetrics.java(increased from 50-300 to 100-500)This will update automatically on new commits.