🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Use Hash / SHA to compare Serialized DAGs #10116

Closed

Description

@kaxil

Description

Currently, we compare entire Serialized blobs to determine if the DAG changed or not before we write the Serialized DAGs to the Database which can be expensive.
Instead, we will store the HASH / SHA of the Serialized JSON and store that in a separate column in the serialized_dag table.
And before writing the Serialized Blob, we will compare the SHA to decide if DAG changed.

Activity

  1. added this to the Airflow 1.10.12 milestone on Aug 2, 2020
  2. self-assigned this
    on Aug 2, 2020
  3. changed the title [-]Use SHA to compare Serialized DAGs[/-] [+]Use Hash / SHA to compare Serialized DAGs[/+] on Aug 2, 2020
  4. potiuk commented on Aug 2, 2020

    @potiuk
    Member

    Oh yeah!

  5. kaxil commented on Aug 2, 2020

    @kaxil
    MemberAuthor

    Planning to get to this by tomorrow so we can release it with Airflow 1.10.12

  6. potiuk commented on Aug 2, 2020

    @potiuk
    Member

    What are the plans for 1.10.12?

  7. kaxil commented on Aug 2, 2020

    @kaxil
    MemberAuthor

    What are the plans for 1.10.12?

    Mostly to fix all the Kubernetes related issues that came of the Kubernetes Refactors in Airflow 1.10.11 -- https://github.com/apache/airflow/issues?q=is%3Aopen+is%3Aissue+label%3Ak8s+milestone%3A%22Airflow+1.10.12%22

    We can hopefully get those fixed (PRs are directly to v1-10-* branches) so hopefully, we can get RCs at the end of next week

  8. added 4 commits that reference this issue on Aug 11, 2020
    adce6f0
    ab5dd24
    d420398
  9. added a commit that references this issue on Mar 5, 2021
    abe0081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions