Open ANU7MADHAV opened 1 week ago
Welcome to the SigNoz community! Thank you for your first pull request and making this project better. 🤗
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Summary
The issue was that ClickHouse migrations were starting automatically when the server launched. To address this, I implemented a flag feature for conditional migrations. An environment variable,
CLICKHOUSE_MIGRATION_ENABLED
, was introduced with a default value offalse
. When set tofalse
, migrations do not run; if changed totrue
, migrations will execute. This allows for an optimized, dynamic approach to managing migrations.Related Issues / PR's
resolves #5678
Screenshots
NA
Affected Areas and Manually Tested Areas