Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove unused ThreadSafeDict utility - #72918

Merged
shahar1 merged 1 commit into
apache:mainfrom
aaron-y-chen:remove-unused-thread-safe-dict
Sep 13, 2026
Merged

Remove unused ThreadSafeDict utility#72918
shahar1 merged 1 commit into
apache:mainfrom
aaron-y-chen:remove-unused-thread-safe-dict

Conversation

@aaron-y-chen

Copy link
Copy Markdown
Contributor

I've checked the ThreadSafeDict class has no references in the repo.

The last usage of this class was removed in PR #62554.


Was generative AI tooling used to co-author this PR?
  • No (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@shahar1

shahar1 commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

@xBis7 I'll be happy for your input

@xBis7 xBis7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@shahar1 Thanks for pinging me. I can confirm that the code using it has been removed and it's not needed anymore.

As far as I know, all processes are executing linearly. Any concurrent synchronization in Airflow is happening over the DB with row locking, so I don't think that we will be needing it in the future.

LGTM!

@shahar1
shahar1 merged commit 66bd645 into apache:main Sep 13, 2026
150 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-3-test PR Link

xvega pushed a commit to xvega/airflow that referenced this pull request Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants