Commit graph

27 commits

Author SHA1 Message Date
Sriharsha Chintalapani
ed5e68c2a5
Make SearchIndexing distributed-only (#27971)
* Make search indexing distributed-only

* Update generated TypeScript types

* Address search index review comments

* Normalize search index entity aliases

* Return defensive search index config copies

* Update search indexing application docs

* Share staged reindex context mapping

* Speed up distributed job polling discovery

* Use database polling for distributed job discovery

* Address distributed search indexing review comments

* Address distributed indexing polling review

* Add SearchIndex promotion test coverage

* Fix distributed reindex finalization review comments

* Fix SearchIndex app Playwright run history parsing

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-12 08:22:59 -07:00
Mohit Yadav
f69d753b79
Set Indexing related executor threads priority to LOW (#27153)
* Improve memory usage for reindex process and lower priority for

* review comments

* Fix Long Jobs not marked

* Remove not required changes
2026-04-15 11:28:47 -07:00
Mohit Yadav
8f92aa4a8c
Remove Virtual Threads : (#27231)
PostgreSQL JDBC 42.7.7 uses synchronized blocks around network I/O (sending queries, reading
   responses). With virtual threads, a thread that blocks inside synchronized gets pinned to
  its carrier thread — it cannot unmount even when waiting for I/O.

  With -XX:ActiveProcessorCount=2, there are exactly 2 ForkJoinPool carrier threads. The
  moment 2 concurrent SQL queries are executing on virtual threads, both carrier threads are
  pinned. The health probe's virtual thread becomes runnable but can't be scheduled — no
  carrier thread is free. Probe times out. Repeat indefinitely.

  Disabling virtual threads switches Jetty back to a 150-thread platform thread pool. Even if
  100 threads are blocked waiting for DB connections, 50 remain available for the health probe
   and other requests. The complete deadlock is impossible with platform threads
2026-04-12 22:30:28 -07:00
Mohit Yadav
7b6360a9ed
Reindex Work - Perf , Metrics , Benchmarking and More (#26231)
* Update Perf

* Add multi asset scale count

* Update perf and Usage

* Fix recommendation

* Add Benchmarking script and doc

* Fix Perf

* Add --no break to benchmark

* add more metrics and validation for indexes miss

* Update generated TypeScript types

* Bound Doc Virtual Threads

* Remove Additional Properties from the UI

* Update doc

* Fix Job Getting Marked Stopped

* Server killed logs fixes

* Add Server stat to Quartz Progress

* Fix CPU spiking

* Make Auto Tune Consider JVm configs

* Fix Partition Calculator and Recovery Job Stats

* Update Auto Tune to show up in logs and stored in config

* Fix Auto Tune Config not store in app run record

* Fix OnDemand Job type

* Indexing Failures not flushed fixed

* Fix Stat counting at job level with process job failures

* Add Reindex Job Identifier

* Add Thread Identifiers

* Wait for sink

* Wait for sink

* Fix Stopping to let partitions finish the job

* CPU Budgeting

* More Conservative settings

* Address Review Comment

* fix Open Search Index Manager

* Reapply OpenSearch BulkSink

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-10 08:10:46 +05:30
Mohit Yadav
b59aa7fc44
Improve indexing (#26154)
* Add Prometheus metrics for reindexing pipeline via Micrometer                                                       Bridge the existing reindexing atomic counters to Prometheus so operators     can alert on failures, latency spikes, and backpressure without relying      solely on database-flushed stats.

  - Add ReindexingMetrics singleton (initialize/getInstance pattern matching
    CacheMetrics) with job lifecycle counters, stage success/failed/warnings
    counters, bulk request timers with SLA buckets, payload size distribution,
    backpressure and promotion counters, and active/pending gauges
  - Register in MicrometerBundle after StreamableLogsMetrics
  - Instrument ReindexingOrchestrator.run() with job started/completed/failed/stopped
  - Bridge StageStatsTracker.flush() deltas to Prometheus per stage and entity type
  - Add bulk request latency timer and payload size recording in OpenSearchBulkSink
  - Record backpressure events in SearchIndexExecutor.handleBackpressure()
  - Record promotion success/failure in DefaultRecreateHandler
  - Add ReindexingMetricsTest with 24 tests covering all metric types

* Add Improvements

* Auto Gene

* Use Auto Config in distributed

* Fix Partition Claim Spread

* Make partition use config

* Correct total count

* Fix Wait time to 5 mins

* Revert om yaml

* Fix Sink sync

* Add Failure Handling at different stages

* Update script to create entities

* Move to scripts

* Add usage and fix script

* Fix Script

* Update generated TypeScript types

* Fix Staging miss

* Fix Stats reconcilation issue

* Revert workflow handler

* Fix Partition worker early sync

* Update Logs

* Update logs EntityRepository

* Error failure test

* Review Comments fix

* Fix Non Distributed live feed

* Fix Non Distributed stats feed

* Fix Review comments

* Fix Time Series cutt off

* Update generated TypeScript types

* Md

* Benchmark addition

* Fix date time warning

* Update load test to do benchmark analysis

* Disagnostic and update perf test

* Move load test to bin

* Fix Review Comments

* Add numeric values

* Move to localhost by default

* Fix Perf test issues

* Review Comments

* Add Preflight Fixes

* Add Preflight fixes for stale entry

* Remove stale entry on ApplicationHandler

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-03 16:39:27 +05:30
Sriharsha Chintalapani
d07ea4ec45
Fix JVM params (#22409) 2025-07-17 12:30:03 +05:30
Pere Miquel Brull
513350e623
MINOR - Update JVM params (#22334)
* MINOR - Update JVM params

* Update openmetadata-server-start.sh

---------

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2025-07-15 11:34:40 +02:00
Sriharsha Chintalapani
e835c1074f
Revamp metrics, Add Request Latencies, breakdown database, search latencies (#22259)
* Add cleaner metrics

* Revamp Metrics; Add Request Latencies, breakdown database, search latencies

* Remove MicrometerBundleSingleton.java

* Fix tests
2025-07-10 11:34:30 -07:00
Sriharsha Chintalapani
dbc0d97b99
Add more debug logs; improve JVM params to be JVM 21 (#22194) 2025-07-07 17:14:43 -07:00
Sriharsha Chintalapani
8bb055fc9e
Fix #21506: Upgrade to Java 21 (#21507)
* Fix #21506: Upgrade to Java 21

* Fix #1655: Upgrade to Java 21
2025-06-11 22:06:08 -07:00
Juntao Zhang
7a860e51f9
Fix openmetadata-server-start.sh can't start in daemon (#20405) 2025-03-27 07:14:46 +01:00
Sriharsha Chintalapani
4a691da386
Remove default debug enable (#8195) 2022-10-19 11:39:14 +05:30
Sriharsha Chintalapani
65ee573a7d
Fix HEAP OPTS param (#8094) 2022-10-11 16:30:09 -07:00
Sriharsha Chintalapani
801012d2a6
Add remote debug port (#8045)
* Add remote debug port

* Add remote debug port

* Add remote debug port

* Add remote debug port
2022-10-11 11:13:15 +05:30
Sriharsha Chintalapani
b2bdc54ac7
Fix #7516: Move data folder into openmetadta-service (#7517) 2022-09-17 11:35:45 -07:00
Sriharsha Chintalapani
656b50dd3a
Fix #7469: Refactor OpenMetadata code modules (#7474) 2022-09-14 23:14:02 -07:00
parthp2107
60ff85ccdc
selenium code clean-up (#2012)
* code clean-up

* removing extra code
2022-01-04 13:56:55 +05:30
parthp2107
a9e70e6a89
License header update (#1498)
* updated liscense header

* updated license header

* updated license header

* updated license header

* addressing stylecheck findings
2021-12-01 12:46:28 +05:30
parthp2107
4a5f5e69b3
uncommenting add-user test (#1097)
* uncommenting add-user test

* quick-fix

* Ingestion script modified

* Airflow sample_usage modified, added sleep in curl commands

* adding chrome options for failing tests

* addressing reviewdog finding

* testing

* addressing reviewdog findings

Co-authored-by: Ayush Shah <ayush@getcollate.io>
2021-11-14 20:16:39 -08:00
parthp2107
bfe3d86583
git workflow for selenium tests (#945)
* Create selenium-tests.yml

* Update selenium-tests.yml

* added dependency and configured testng.xml in pom

* removing testng config

* headless browers, testng to junit

* removed webDriverManager

* removed webDriverManager

* testing commit

* pushing all tests

* end-to-end tests

* changed workflow for proper test running order

* checking docker build

* printing logs for testing

* reformatted the code

* printing logs

* addressed null pointer exception

* addressing git worflow errows

* removing logs from start server test

* running .sh script directly from workflow

* testing script

* testing script

* addressing reviewdog findings

* updated chrome drivers

* addressing failing tests

* searchbar to searchBox

* testing

* cleaning code and added api test config in pom.xml

* commenting tests - functionality absent

* addressing reviewdog finding

* addressing reviewdog finding

* uncommenting search tests

* added condition for no service exists and added click event to leftout actions

* addressing reviewdog findings
2021-11-06 00:58:19 -07:00
parthp2107
27838b11cb
added selenium tests (#882)
* added selenium tests

* logout test fix

* addressing javastyle check error

* addressig checkstyle error

* addressing py-checkstyle findings

* addressing py-checkstyle findings

* reverting pom.xml url change

* addressing comments

* addressing comments
2021-10-22 12:10:55 +05:30
Suresh Srinivas
a2403b4570 Ingestion: add sample usage connector 2021-08-13 00:33:48 -07:00
Suresh Srinivas
09eee3648b Event logging, return Table from followers, joins PUT/DELETE operations 2021-08-05 12:24:38 -07:00
Suresh Srinivas
00f541d1b4 Event logging 2021-08-05 02:01:47 -07:00
parthp2107
8a92d253db
replaced catalog to openmetadata #2 (#47)
Co-authored-by: parthp2107 <parth.panchal@deuexsoultions.com>
2021-08-05 10:15:52 +05:30
parthp2107
b5baa9f2db applied license to the backend files 2021-08-02 15:08:30 +05:30
sureshms
8ce7c879e8 OpenMetadata snapshot release 0.3 2021-08-01 14:27:44 -07:00