bdoyle0182 commented on issue #4632: Activation Persister Service
URL: https://github.com/apache/openwhisk/pull/4632#issuecomment-591706386
 
 
   More of a question about activation storage within the invoker and 
acknowledgment back to the controller. So in the current state it looks like 
the acknowledgment message on `completed*` that's read by the controller is 
sent async / simultaneously on the invoker with writing the activation to 
couchdb or whatever the persistence store. So is there then a race condition 
that `completed*` gets the acknowledgment, but the activation is then never 
written to couchdb in the case that producing to `completed*` finishes first, 
then the invoker goes down before the activation is written to couchdb and the 
activation is therefore lost. If my understanding is correct, would this new 
service solve this race condition because it seems like it's just swapping out 
the store operation in the invoker with a produce to kafka so the ack and new 
activation store produce to kafka would still be happening simultaneously.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to