pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] jerrypeng opened a new pull request #3751: fix function termination cleanup
Date Tue, 05 Mar 2019 00:58:10 GMT
jerrypeng opened a new pull request #3751: fix function termination cleanup
URL: https://github.com/apache/pulsar/pull/3751
 
 
   ### Motivation
   
   Currently the termination routine runs once for every function instance scheduled on a
particular worker.  If there are multiple instances of a function scheduled on a single worker,
the termination routine will run when terminating for each instance.
   
   In the termination routine we cleanup subscriptions created by the function.  Ideally this
only runs once when all instances of functions have stopped.  However that kind of coordination
is hard to accomplish but a least on a per worker basis lets only run the termination routine
on the last instance running on that worker. So that a least we are running the termination
routine only once for a function on a per worker basis
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message