apache / apache/openwhisk

Handle the cycle in queue manager.

Open
#5,301 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

## Steps to reproduce the issue:

It's not easy to reproduce it as it occasionally happens.
But what we observed is as follows.

1. Queue endpoints are suddenly removed at once for some reason.
2. The DataMangementService tried to put the queue endpoint again but there was already data written.
3. So it just removed the queue as it thought there is another queue running.
4. But there was no queue running and the queue endpoint was the same scheduler.
5. So there was no queue but queue endpoint data was in ETCD.
6. Since the endpoint in ETCD points to the scheduler without a queue, activations were sent to the scheduler repeatedly.

## Additional information you deem important:
* Need to test when etcd data is abnormally removed and recovered.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.