Skip to content

[New Scheduler] it's rarely happened but there may be an infinity loop in scheduler #5250

Closed
@jiangpengcheng

Description

@jiangpengcheng

when queue is deleted from a scheduler in memory but its leader key still exist, msgs will be sent to the scheduler and sent to itself infinitely

logs are:

image

casued by below codes:

            case None =>
              logging.info(
                this,
                s"[${msg.activationId}] the key ${key} is not in the initRevisionMap. revision: ${msg.revision}")
              sendActivationByLeaderKey(key, msg)

it will consume logs of cpu resources and tons of info logs

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions