Giter Club home page Giter Club logo

Comments (4)

pr00se avatar pr00se commented on June 21, 2024 1

@dimitarvdimitrov as the code stands currently, we shouldn't hit this issue, because (as you point out) all of the code that runs after the lifecycler is started should execute quickly, and not block the ingester's starting(). However, during development of the owned series service this behavior caused issues (#7087) and was confusing to navigate around.

So, this issue is less about fixing an active problem, but more about fixing non-deterministic behavior that can cause problems in non-obvious and can cause problems in the future.

from mimir.

dimitarvdimitrov avatar dimitarvdimitrov commented on June 21, 2024

shouldn't the lifecycler be started only after all of its submodules are in a Running state? What is holding up the startup of the ingester?

from mimir.

pr00se avatar pr00se commented on June 21, 2024

shouldn't the lifecycler be started only after all of its submodules are in a Running state? What is holding up the startup of the ingester?

Do you mean the ingester's submodules? There are several ingester subservices that require the lifecycler to be running first, at least according to the comment in that file. That said, maybe the comment is wrong and we could just move the lifecycler start to the end of starting()?

from mimir.

dimitarvdimitrov avatar dimitarvdimitrov commented on June 21, 2024

Do you mean the ingester's submodules? There are several ingester subservices that require the lifecycler to be running first, at least according to the comment in that file

ah, yes, that's what I was looking for. From those services only the ingestPartitionLifecycler has any starting procedure; the rest are timer services which start ~immediately. I still don't understand why that would hold up the ingester from starting for that long. Is it possible that some components haven't yet received the ring update that the ingester is shutting down and entering LEAVING state and still send it queries?

from mimir.

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.