Giter Site home page Giter Site logo

Comments (4)

gdb avatar gdb commented on July 22, 2024

(As a note, looks like this can also be triggered when can_safely_reload? returns false.)

from einhorn.

ebroder avatar ebroder commented on July 22, 2024

Hmm. So my recollection is that I wrote the code in #39 because our einhorn worker monitoring would fire because einhorn would keep the state passer in its state variables indefinitely, thus looking like a very old worker process.

But in any case, it feels like the code in #40 should safely handle all possible cases of this race - it's basically a more generalized and better version of the same issues as #39. Maybe we can revert 673f5a8 now that #40 is in place? We should make sure we think through the state upgrade path before we do, though.

I'm not totally confident all of that is right, though. But intuitively, it seems like a better fix than making the communication with the state passer more complicated.

from einhorn.

gdb avatar gdb commented on July 22, 2024

Ah yeah, I like that much better. I'll poke at it.

  • gdb

On Sun, Apr 12, 2015 at 11:41 PM, Evan Broder [email protected]
wrote:

Hmm. So my recollection is that I wrote the code in #39
#39 because our einhorn worker
monitoring would fire because einhorn would keep the state passer in its
state variables indefinitely, thus looking like a very old worker process.

But in any case, it feels like the code in #40
#40 should safely handle all
possible cases of this race - it's basically a more generalized and better
version of the same issues as #39
#39. Maybe we can revert 673f5a8
673f5a8
now that #40 #40 is in place? We
should make sure we think through the state upgrade path before we do,
though.

I'm not totally confident all of that is right, though. But intuitively,
it seems like a better fix than making the communication with the state
passer more complicated.


Reply to this email directly or view it on GitHub
#46 (comment).

from einhorn.

adambrakhane avatar adambrakhane commented on July 22, 2024

Did you guys ever figure out how to resolve this?

from einhorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.