Repository navigation
chore(jobsdb): multi-consumer get and noresults cache handling - #7095
Merged
Merged
Conversation
atzoum
marked this pull request as draft
June 16, 2026 12:23
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7095 +/- ##
==========================================
- Coverage 79.52% 79.50% -0.02%
==========================================
Files 584 584
Lines 65469 65493 +24
==========================================
+ Hits 52061 52067 +6
- Misses 10298 10315 +17
- Partials 3110 3111 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
atzoum
force-pushed
the
feat.mcJobsDB4
branch
2 times, most recently
from
June 17, 2026 12:19
31ffab8 to
e55aa8f
Compare
atzoum
force-pushed
the
feat.mcJobsDB4
branch
3 times, most recently
from
June 19, 2026 09:28
5898c2f to
795fbbe
Compare
ktgowtham
approved these changes
Jun 22, 2026
chore: slices clone 🔒 Scanned for secrets using gitleaks 8.30.1
atzoum
marked this pull request as ready for review
June 24, 2026 08:29
This was referenced Jun 29, 2026
Closed
atzoum
pushed a commit
that referenced
this pull request
Jun 29, 2026
🤖 I have created a release *beep* *boop* --- ## [1.79.0-rc.1](v1.78.0...v1.79.0-rc.1) (2026-06-29) ### Features * support compressing payloads in reporting client ([#7124](#7124)) ([365b530](365b530)) * support deltalake azure hierarchical namespace folders ([#7089](#7089)) ([61b41e4](61b41e4)) ### Bug Fixes * panic in user transformer client due to timeout doesn't get recorded by alerts ([#7116](#7116)) ([61b41e4](61b41e4)) * partition migration restarts server on slow in-progress wait ([#7129](#7129)) ([d63d597](d63d597)) ### Miscellaneous * **jobsdb:** capturing multi-consumer pending events ([#7121](#7121)) ([dc382f7](dc382f7)) * **jobsdb:** cleanup legacy configuration flags ([#7122](#7122)) ([58778d5](58778d5)) * **jobsdb:** multi-consumer compaction ([#7096](#7096)) ([57f1ef5](57f1ef5)) * **jobsdb:** multi-consumer get and noresults cache handling ([#7095](#7095)) ([9d5c58a](9d5c58a)) * **jobsdb:** multi-consumer get distinct consumers ([#7097](#7097)) ([f68a56d](f68a56d)) * **jobsdb:** multi-consumer partition migration ([#7098](#7098)) ([9cda68d](9cda68d)) * **jobsdb:** multi-consumer-specific indexes and views ([#7093](#7093)) ([61b41e4](61b41e4)) * **jobsdb:** multiconsumer flip, registry table and unionjobsdb ([#7094](#7094)) ([9eff2e9](9eff2e9)) * **jobsdb:** new columns for multi-consumer jobsdb ([#7082](#7082)) ([61b41e4](61b41e4)) * recreate stale rsources subscription on shared db ([#7108](#7108)) ([c59e9e5](c59e9e5)) * use priority pool at migration start while polling for pending jobs ([#7128](#7128)) ([254ae15](254ae15)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This was referenced Jun 29, 2026
Merged
atzoum
pushed a commit
that referenced
this pull request
Jun 29, 2026
🤖 I have created a release *beep* *boop* --- ## [1.79.0-rc.2](v1.78.0...v1.79.0-rc.2) (2026-06-29) ### Features * support compressing payloads in reporting client ([#7124](#7124)) ([365b530](365b530)) * support deltalake azure hierarchical namespace folders ([#7089](#7089)) ([61b41e4](61b41e4)) ### Bug Fixes * **jobsdb:** compaction panics with pq error column js.consumer does not exist at position ([#7133](#7133)) ([f392a53](f392a53)) * panic in user transformer client due to timeout doesn't get recorded by alerts ([#7116](#7116)) ([61b41e4](61b41e4)) * partition migration restarts server on slow in-progress wait ([#7129](#7129)) ([d63d597](d63d597)) ### Miscellaneous * **jobsdb:** capturing multi-consumer pending events ([#7121](#7121)) ([dc382f7](dc382f7)) * **jobsdb:** cleanup legacy configuration flags ([#7122](#7122)) ([58778d5](58778d5)) * **jobsdb:** multi-consumer compaction ([#7096](#7096)) ([57f1ef5](57f1ef5)) * **jobsdb:** multi-consumer get and noresults cache handling ([#7095](#7095)) ([9d5c58a](9d5c58a)) * **jobsdb:** multi-consumer get distinct consumers ([#7097](#7097)) ([f68a56d](f68a56d)) * **jobsdb:** multi-consumer partition migration ([#7098](#7098)) ([9cda68d](9cda68d)) * **jobsdb:** multi-consumer-specific indexes and views ([#7093](#7093)) ([61b41e4](61b41e4)) * **jobsdb:** multiconsumer flip, registry table and unionjobsdb ([#7094](#7094)) ([9eff2e9](9eff2e9)) * **jobsdb:** new columns for multi-consumer jobsdb ([#7082](#7082)) ([61b41e4](61b41e4)) * recreate stale rsources subscription on shared db ([#7108](#7108)) ([c59e9e5](c59e9e5)) * use priority pool at migration start while polling for pending jobs ([#7128](#7128)) ([254ae15](254ae15)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
atzoum
pushed a commit
that referenced
this pull request
Jun 30, 2026
🤖 I have created a release *beep* *boop* --- ## [1.79.0](v1.78.0...v1.79.0) (2026-06-29) ### Features * support compressing payloads in reporting client ([#7124](#7124)) ([365b530](365b530)) * support deltalake azure hierarchical namespace folders ([#7089](#7089)) ([61b41e4](61b41e4)) ### Bug Fixes * **jobsdb:** compaction panics with pq error column js.consumer does not exist at position ([#7133](#7133)) ([f392a53](f392a53)) * panic in user transformer client due to timeout doesn't get recorded by alerts ([#7116](#7116)) ([61b41e4](61b41e4)) * partition migration restarts server on slow in-progress wait ([#7129](#7129)) ([d63d597](d63d597)) ### Miscellaneous * **jobsdb:** capturing multi-consumer pending events ([#7121](#7121)) ([dc382f7](dc382f7)) * **jobsdb:** cleanup legacy configuration flags ([#7122](#7122)) ([58778d5](58778d5)) * **jobsdb:** multi-consumer compaction ([#7096](#7096)) ([57f1ef5](57f1ef5)) * **jobsdb:** multi-consumer get and noresults cache handling ([#7095](#7095)) ([9d5c58a](9d5c58a)) * **jobsdb:** multi-consumer get distinct consumers ([#7097](#7097)) ([f68a56d](f68a56d)) * **jobsdb:** multi-consumer partition migration ([#7098](#7098)) ([9cda68d](9cda68d)) * **jobsdb:** multi-consumer-specific indexes and views ([#7093](#7093)) ([61b41e4](61b41e4)) * **jobsdb:** multiconsumer flip, registry table and unionjobsdb ([#7094](#7094)) ([9eff2e9](9eff2e9)) * **jobsdb:** new columns for multi-consumer jobsdb ([#7082](#7082)) ([61b41e4](61b41e4)) * recreate stale rsources subscription on shared db ([#7108](#7108)) ([c59e9e5](c59e9e5)) * use priority pool at migration start while polling for pending jobs ([#7128](#7128)) ([254ae15](254ae15)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Consumer-scoped pickup (
getJobsDS):On a multi-consumer handle, the query adds a GIN membership pre-filter (
jobs.consumers @> ARRAY[$n]) and scopes the latest-status join to that consumer. Both the view-join strategy (v_last_c_ONjob_id AND consumer = $n) and the lateral-join strategy (ORDER BY id DESC LIMIT 1withAND consumer = $n) get the consumer-scoped variant. Single-consumer handles ignore the field entirely; their query plans are unchanged.noResultsCacheconsumer dimension:The consumer participates in the cache as a
consumer=<value>parameter-filter key entry, reusing the existing wildcard machinery, no new cache dimension is added. Consumer-scoped lookups key onconsumer=<value>; all-consumer queries key onconsumer=*. Invalidation on a status write for consumer X invalidates bothconsumer=Xandconsumer=*. Store writes invalidate only the consumers stored in that batch (plus*).Linear Ticket
resolves PIPE-3050
Security