Skip to content

Commit

Permalink
chore: applying 1.19.1 hotfixes to main branch (#4325)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidddddarth committed Jan 17, 2024
1 parent 709d348 commit 5276978
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog


## [1.19.1](https://github.com/rudderlabs/rudder-server/compare/v1.19.0...v1.19.1) (2024-01-16)


### Bug Fixes

* ignore gwJobs' destinationID in processor rsources.statCollector ([#4321](https://github.com/rudderlabs/rudder-server/issues/4321)) ([8d58bd5](https://github.com/rudderlabs/rudder-server/commit/8d58bd5bbe8399070f826cdb442fbbfcc867e41e))

## [1.19.0](https://github.com/rudderlabs/rudder-server/compare/v1.18.0...v1.19.0) (2024-01-15)


Expand Down
2 changes: 1 addition & 1 deletion processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,7 @@ func (proc *Handle) handlePendingGatewayJobs(partition string) bool {
return false
}

rsourcesStats := rsources.NewStatsCollector(proc.rsourcesService)
rsourcesStats := rsources.NewStatsCollector(proc.rsourcesService, rsources.IgnoreDestinationID())
rsourcesStats.BeginProcessing(unprocessedList.Jobs)

proc.Store(partition,
Expand Down
2 changes: 1 addition & 1 deletion processor/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (w *worker) Work() (worked bool) {

w.handle.stats().DBReadThroughput(w.partition).Count(throughputPerSecond(jobs.EventsCount, time.Since(start)))

rsourcesStats := rsources.NewStatsCollector(w.handle.rsourcesService())
rsourcesStats := rsources.NewStatsCollector(w.handle.rsourcesService(), rsources.IgnoreDestinationID())
rsourcesStats.BeginProcessing(jobs.Jobs)
subJobs := w.handle.jobSplitter(jobs.Jobs, rsourcesStats)
for _, subJob := range subJobs {
Expand Down
2 changes: 1 addition & 1 deletion processor/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (m *mockWorkerHandle) handlePendingGatewayJobs(partition string) bool {
if len(jobs.Jobs) > 0 {
_ = m.markExecuting(partition, jobs.Jobs)
}
rsourcesStats := rsources.NewStatsCollector(m.rsourcesService())
rsourcesStats := rsources.NewStatsCollector(m.rsourcesService(), rsources.IgnoreDestinationID())
for _, subJob := range m.jobSplitter(jobs.Jobs, rsourcesStats) {
m.Store(partition,
m.transformations(partition,
Expand Down

0 comments on commit 5276978

Please sign in to comment.