question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Optimistic option being overriden

See original GitHub issue

I tried to do a Records.update({},{},{optimistic: false}) from the client but I believe it is getting overridden here: https://github.com/cult-of-coders/redis-oplog/blob/master/lib/mongo/allow-deny/validatedUpdate.js#L120

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jamesgibson14commented, Apr 13, 2017

No they are only on the server side. I have some updates that trigger 5-10 other find, update, and insert methods. When using redis-oplog the original update has to wait for all of those other updates to finish before replying to the client, which isn’t the case without redis-oplog

1reaction
jamesgibson14commented, Apr 13, 2017

I dont use the composite package, but i do use hooks and that seems to affect it. Thank you for all the hard work you are doing on this.

On Apr 13, 2017 7:29 AM, “Theodor Diaconu” notifications@github.com wrote:

@jamesgibson14 https://github.com/jamesgibson14 in next big release I will eliminate this necessity, I already know how to solve this, without the necessity of a custom publish-composite package. But this will give you much much faster response times.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cult-of-coders/redis-oplog/issues/148#issuecomment-293895492, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuPKq0-fy0IcSVAcCXGaUjiPUpr72xoks5rviNHgaJpZM4M70Yk .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advisors, Don't Let Crypto Optimism Override Practical Thinking
Crypto's future is bright, but clients still need practical steps and insights.
Read more >
How We Opt Out of Overoptimism: Our Habit of Ignoring What ...
High-risk-taking entrepreneurs override such loss aversion, a phenomenon most of us succumb to—in which losses hurt twice as much as gains feel ...
Read more >
Advisors, Don't Let Crypto Optimism Override ... - Yahoo Finance
The first step is to help the client secure their assets, according to Brad Roth, chief investment officer at Thor Financial Technologies, a ......
Read more >
Mutations in Apollo Client - Apollo GraphQL Docs
Optimistic UI: Learn how to improve perceived performance by returning an optimistic response before your mutation result comes back from the server. Local ......
Read more >
Optimistic Locking in JPA - Baeldung
Therefore, it ensures that any updates or deletes won't be overwritten or lost silently. Opposite to pessimistic locking, it doesn't lock ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found