Skip to content

fix: cron tracker query causing master restarts - #6252

Merged
vyeshwanth merged 2 commits into
masterfrom
fix.wh-master-restarts-cron-tracker-query
Aug 19, 2025
Merged

vyeshwanth merged 2 commits into
masterfrom
fix.wh-master-restarts-cron-tracker-query

Conversation

@vyeshwanth

Copy link
Copy Markdown
Contributor

Description

Create an index on the wh_staging_files table for columns source_id, destination_id and created_at

Linear Ticket

Part of WAR-828

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@vyeshwanth vyeshwanth changed the title fix: cron tracker query taking long time fix: cron tracker query causing master restarts Aug 19, 2025
@codecov

codecov Bot commented Aug 19, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.80%. Comparing base (4d574d3) to head (f57f8c3).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6252      +/-   ##
==========================================
- Coverage   76.91%   76.80%   -0.11%     
==========================================
  Files         521      521              
  Lines       70863    70868       +5     
==========================================
- Hits        54501    54430      -71     
- Misses      13484    13552      +68     
- Partials     2878     2886       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vyeshwanth
vyeshwanth merged commit 51437b9 into master Aug 19, 2025
@vyeshwanth
vyeshwanth deleted the fix.wh-master-restarts-cron-tracker-query branch August 19, 2025 12:24
This was referenced Sep 1, 2025
itsmihir pushed a commit that referenced this pull request Sep 1, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.58.0-rc.1](v1.57.0...v1.58.0-rc.1)
(2025-09-01)


### Features

* implement error normalizer with similarity detection for reporting
([#6248](#6248))
([b4653d3](b4653d3))
* **router:** delivery throttler
([#6225](#6225))
([f55c7a8](f55c7a8))


### Bug Fixes

* cron tracker query causing master restarts
([#6252](#6252))
([51437b9](51437b9))
* snowpipe events getting duplicated if status API fails
([#6211](#6211))
([#6244](#6244))
([8d6838d](8d6838d))
* transformation metrics count amplification
([#6258](#6258))
([fded7b3](fded7b3))
* update table schema local repository
([#6255](#6255))
([2ec9a9f](2ec9a9f))
* update table schema local repository
([#6255](#6255))
([4446e5b](4446e5b))
* use source-id for getting cached schemas
([#6268](#6268))
([2ec9a9f](2ec9a9f))
* use source-id for getting cached schemas
([#6268](#6268))
([90e4191](90e4191))
* warehouse migrations from master only
([#6282](#6282))
([2309507](2309507))


### Miscellaneous

* add alert for stuck snowpipe pipeline
([#6271](#6271))
([2ec9a9f](2ec9a9f))
* add context information on ut http error logs
([#6278](#6278))
([424f22c](424f22c))
* bump amannn/action-semantic-pull-request from 5 to 6
([#6237](#6237))
([41c1548](41c1548))
* bump the go-deps group with 15 updates
([#6247](#6247))
([8d6838d](8d6838d))
* bump the go-deps group with 3 updates
([#6254](#6254))
([02a0263](02a0263))
* cleanup for schema snapshoting
([#6257](#6257))
([4f3a68f](4f3a68f))
* remove flaky GooglePubSub retry configuration tests
([#6260](#6260))
([6c48784](6c48784))
* remove null handling of upload id in load files
([#6241](#6241))
([8d6838d](8d6838d))
* remove unused network code
([#6266](#6266))
([f7cbc94](f7cbc94))
* **router:** rename endpointLabel to endpointPath
([#6279](#6279))
([c933525](c933525))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
itsmihir pushed a commit that referenced this pull request Sep 2, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.58.0-rc.2](v1.57.0...v1.58.0-rc.2)
(2025-09-02)


### Features

* implement error normalizer with similarity detection for reporting
([#6248](#6248))
([b4653d3](b4653d3))
* **router:** delivery throttler
([#6225](#6225))
([f55c7a8](f55c7a8))


### Bug Fixes

* cron tracker query causing master restarts
([#6252](#6252))
([51437b9](51437b9))
* snowpipe events getting duplicated if status API fails
([#6211](#6211))
([#6244](#6244))
([8d6838d](8d6838d))
* transformation metrics count amplification
([#6258](#6258))
([fded7b3](fded7b3))
* update table schema local repository
([#6255](#6255))
([2ec9a9f](2ec9a9f))
* update table schema local repository
([#6255](#6255))
([4446e5b](4446e5b))
* use getStringifiedSampleEvent for consistent sample event handling
([#6290](#6290))
([526975c](526975c))
* use source-id for getting cached schemas
([#6268](#6268))
([2ec9a9f](2ec9a9f))
* use source-id for getting cached schemas
([#6268](#6268))
([90e4191](90e4191))
* warehouse migrations from master only
([#6282](#6282))
([2309507](2309507))


### Miscellaneous

* add alert for stuck snowpipe pipeline
([#6271](#6271))
([2ec9a9f](2ec9a9f))
* add context information on ut http error logs
([#6278](#6278))
([424f22c](424f22c))
* bump amannn/action-semantic-pull-request from 5 to 6
([#6237](#6237))
([41c1548](41c1548))
* bump the go-deps group with 15 updates
([#6247](#6247))
([8d6838d](8d6838d))
* bump the go-deps group with 3 updates
([#6254](#6254))
([02a0263](02a0263))
* cleanup for schema snapshoting
([#6257](#6257))
([4f3a68f](4f3a68f))
* remove flaky GooglePubSub retry configuration tests
([#6260](#6260))
([6c48784](6c48784))
* remove null handling of upload id in load files
([#6241](#6241))
([8d6838d](8d6838d))
* remove unused network code
([#6266](#6266))
([f7cbc94](f7cbc94))
* **router:** rename endpointLabel to endpointPath
([#6279](#6279))
([c933525](c933525))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
itsmihir pushed a commit that referenced this pull request Sep 2, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.58.0](v1.57.0...v1.58.0)
(2025-09-02)


### Features

* implement error normalizer with similarity detection for reporting
([#6248](#6248))
([b4653d3](b4653d3))
* **router:** delivery throttler
([#6225](#6225))
([f55c7a8](f55c7a8))


### Bug Fixes

* cron tracker query causing master restarts
([#6252](#6252))
([51437b9](51437b9))
* snowpipe events getting duplicated if status API fails
([#6211](#6211))
([#6244](#6244))
([8d6838d](8d6838d))
* transformation metrics count amplification
([#6258](#6258))
([fded7b3](fded7b3))
* update table schema local repository
([#6255](#6255))
([2ec9a9f](2ec9a9f))
* update table schema local repository
([#6255](#6255))
([4446e5b](4446e5b))
* use getStringifiedSampleEvent for consistent sample event handling
([#6290](#6290))
([526975c](526975c))
* use source-id for getting cached schemas
([#6268](#6268))
([2ec9a9f](2ec9a9f))
* use source-id for getting cached schemas
([#6268](#6268))
([90e4191](90e4191))
* warehouse migrations from master only
([#6282](#6282))
([2309507](2309507))


### Miscellaneous

* add alert for stuck snowpipe pipeline
([#6271](#6271))
([2ec9a9f](2ec9a9f))
* add context information on ut http error logs
([#6278](#6278))
([424f22c](424f22c))
* bump amannn/action-semantic-pull-request from 5 to 6
([#6237](#6237))
([41c1548](41c1548))
* bump the go-deps group with 15 updates
([#6247](#6247))
([8d6838d](8d6838d))
* bump the go-deps group with 3 updates
([#6254](#6254))
([02a0263](02a0263))
* cleanup for schema snapshoting
([#6257](#6257))
([4f3a68f](4f3a68f))
* remove flaky GooglePubSub retry configuration tests
([#6260](#6260))
([6c48784](6c48784))
* remove null handling of upload id in load files
([#6241](#6241))
([8d6838d](8d6838d))
* remove unused network code
([#6266](#6266))
([f7cbc94](f7cbc94))
* **router:** rename endpointLabel to endpointPath
([#6279](#6279))
([c933525](c933525))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
vyeshwanth added a commit that referenced this pull request Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants