|
|
|
|
|
by p10jkle
739 days ago
|
|
not necessarily - we store the intermediary states of your handler, so it can be replayed on infrastructure failures. if the handler changes in what it does, those intermediary states (the 'journal') might no longer match this. the best solution is to route replayed requests to the version of the code that originally executed the request, but:
1. many infra platforms dont allow you to execute previous versions
2. after some duration (maybe just minutes), executing old code is dangerous, eg because of insecure dependencies. |
|
> after some duration (maybe just minutes), executing old code is dangerous, eg because of insecure dependencies.
Could you elaborate on that? My understanding is that all of this tech builds on actions being retried in an "eventually consistent" manner. That would seem to clash with this argument.