Comments (3)
Is it possible that you already ack the same message twice ?
After the error, you can check the queue collection and check if either this ack ID is missing from the table, or
delete
is non null.
Thank you for your response. I don't think that's the case because the first task I get is the one that returns that error.
But I have seem to manage and fix the issue already. It looks like the task performed after getting a queue took very long and it was already put back to queue before I acknowledge it is done.
Extending the visibility
fixed the issue.
Thanks!
from mongodb-queue.
Is it possible that you already ack the same message twice ?
After the error, you can check the queue collection and check if either this ack ID is missing from the table, or delete
is non null.
from mongodb-queue.
Awesome!
from mongodb-queue.
Related Issues (18)
- get() method doesn't follow the FIFO HOT 10
- Incorrect indexes? HOT 8
- findOneAndUpdate vs findAndModify HOT 6
- Long polling with queue.get? HOT 6
- Date type instead of string for datetime fields HOT 2
- Cant connect HOT 4
- Dead Queues Management HOT 1
- concurrency? HOT 4
- for await...of as interface for queue consumer
- How can i connect this with mongoose? HOT 2
- returnOriginal flag is deprecated in findOneAndUpdate
- Batch Processing
- message order after visibility timeout HOT 4
- Using mongdb nodejs driver 4 HOT 2
- Support for node-mongodb-native2 HOT 3
- Support MongoDB 3.x HOT 3
- awesome package, how to work on all queued messages effectively? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-queue.