Skip to content
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

Update version added fields in airflow/config_templates/config.yml #18128

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

mik-laj
Copy link
Member

@mik-laj mik-laj commented Sep 9, 2021

I have looked at all the fields carefully and noticed a few problems that I would like to correct. I used the script I wrote to check in what version the options were added.
https://gist.github.com/mik-laj/d3b3bd4d024fb5f7a563423a514e62a1

Related: #18110


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@@ -454,23 +454,23 @@
description: |
The folder where airflow should store its log files
This path must be absolute
version_added: ~
version_added: 2.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All logging configuration options have been moved to a new section in Airflow 2.0, so they do not work on older versions.

@@ -628,25 +628,25 @@
- name: statsd_on
description: |
Enables sending metrics to StatsD.
version_added: ~
version_added: 2.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All metrics configuration options have been moved to a new section in Airflow 2.0, so they do not work on older versions.

@@ -1635,7 +1635,7 @@
- name: worker_precheck
description: |
Worker initialisation check to validate Metadata Database connection
version_added: 1.10.1
version_added: 2.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option has been moved from core to celery.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Sep 9, 2021
@github-actions
Copy link

github-actions bot commented Sep 9, 2021

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@kaxil kaxil merged commit 2767781 into apache:main Sep 9, 2021
@kaxil kaxil added this to the Airflow 2.1.4 milestone Sep 9, 2021
kaxil pushed a commit that referenced this pull request Sep 10, 2021
kaxil pushed a commit that referenced this pull request Sep 10, 2021
kaxil pushed a commit that referenced this pull request Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants