Giter Site home page Giter Site logo

Comments (8)

Randgalt avatar Randgalt commented on June 16, 2024

I don't see the infinite loop. Do you have an example?

from curator.

trevorbernard avatar trevorbernard commented on June 16, 2024

Yes, initially empty queue and you enqueue a message that doesn't start with "queue-" and it will try and process that message forever.

Sent from my iPhone

On 2012-02-22, at 2:14 PM, Jordan [email protected] wrote:

I don't see the infinite loop. Do you have an example?


Reply to this email directly or view it on GitHub:
#30 (comment)

from curator.

Randgalt avatar Randgalt commented on June 16, 2024

I see. I'm not sure what to do about this. I think it would be wrong for Curator to delete the node. When I wrote the code my intention was that having foreign nodes is an error. Do you have a suggestion for how to handle this? Otherwise, I'd say make sure the path's children are clean before passing the path to Curator.

from curator.

Randgalt avatar Randgalt commented on June 16, 2024

I haven't heard back from you on this so I'll close this issue.

from curator.

trevorbernard avatar trevorbernard commented on June 16, 2024

The email must have got lost in the shuffle. I don't know what's the correct behaviour or not. I suppose you can implement the appropriate access controls to make sure only queue znodes get created and make this a non-issue. However, if I was doing something like this in production, I would favour dropping since the SLA between producer and consumer would be well defined.

from curator.

Randgalt avatar Randgalt commented on June 16, 2024

How did the foreign node get in there? Did you re-use the path?

from curator.

trevorbernard avatar trevorbernard commented on June 16, 2024

zkCli :)

from curator.

Randgalt avatar Randgalt commented on June 16, 2024

OK. I view this as a user error. Under normal use it should never happen.

from curator.

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.