You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/20 02:25:29 UTC

[GitHub] rabbah opened a new issue #3120: WhiskAction and ExecutableWhiskAction equality ignores DocRevision

rabbah opened a new issue #3120: WhiskAction and ExecutableWhiskAction equality ignores DocRevision
URL: https://github.com/apache/incubator-openwhisk/issues/3120
 
 
   Two actions are equal modulo their revision using the default case class equality method. The invoker use action equality when matching actions to warm containers. That means creating an action, invoking it, then deleting/recreating/reinvoking it will reuse the previous container.
   
   I don't think this was intended but is likely harmless since equality will require that code matches exactly between the two versions (parameters, annotations also).
   
   I'm going to suggest a test to enforce this behavior should we keep it. Otherwise, we need to define an explicit equals method.

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


With regards,
Apache Git Services