File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/queue Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,8 @@ class QueueManager(
184
184
}
185
185
186
186
case RecoverQueue (msg, action, actionMetaData) =>
187
- QueuePool .keys.find(_.docInfo.id == action.toDocId) match {
187
+ QueuePool .keys.find(k =>
188
+ k.invocationNamespace == msg.user.namespace.name.asString && k.docInfo.id == action.toDocId) match {
188
189
// a newer queue is created, send msg to new queue
189
190
case Some (key) if key.docInfo.rev >= msg.revision =>
190
191
QueuePool .get(key) match {
@@ -326,7 +327,8 @@ class QueueManager(
326
327
327
328
private def handleCycle (msg : ActivationMessage )(implicit transid : TransactionId ): Unit = {
328
329
val action = msg.action
329
- QueuePool .keys.find(_.docInfo.id == action.toDocId) match {
330
+ QueuePool .keys.find(k =>
331
+ k.invocationNamespace == msg.user.namespace.name.asString && k.docInfo.id == action.toDocId) match {
330
332
// a newer queue is created, send msg to new queue
331
333
case Some (key) if key.docInfo.rev >= msg.revision =>
332
334
QueuePool .get(key) match {
You can’t perform that action at this time.
0 commit comments