danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

If there are no counters for the requested db for a given worker, update the internal loop indexes and move forward #387

Closed danielealbano closed 1 year ago

danielealbano commented 1 year ago

This PR fixes a bug introduced with the multi database support, if a given worker doesn't have the internal stats for a given database then it should be skipped.

The PR changes the flow to always update the internal counters to skip that specific worker as it doesn't have the necessary information.