Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-existent document for aggregation #4

Closed
seanmavley opened this issue Jan 4, 2016 · 3 comments
Closed

Non-existent document for aggregation #4

seanmavley opened this issue Jan 4, 2016 · 3 comments

Comments

@seanmavley
Copy link
Contributor

A document was available for aggregation. That document was deleted. Reactive Aggregate throws this error:

I20160104-10:50:28.341(0)? Exception in queued task: Error: Removed nonexistent document 1
I20160104-10:50:28.342(0)? at [object Object]..extend.removed (livedata_server.js:199:17)
I20160104-10:50:28.342(0)? at [object Object].
.extend.removed (livedata_server.js:388:10)
I20160104-10:50:28.342(0)? at [object Object]..extend.removed (livedata_server.js:1269:19)
I20160104-10:50:28.342(0)? at packages/jcbernack_reactive-aggregate/aggregate.js:27:1
I20160104-10:50:28.342(0)? at Function.
.each..forEach (packages/underscore/underscore.js:113:1)
I20160104-10:50:28.343(0)? at update (packages/jcbernack_reactive-aggregate/aggregate.js:24:1)
I20160104-10:50:28.343(0)? at packages/mongo/observe_multiplex.js:183:1
I20160104-10:50:28.343(0)? at Array.forEach (packages/es5-shim/.npm/package/node_modules/es5-shim/es5-shim.js:417:1)
I20160104-10:50:28.343(0)? at Function.
.each._.forEach (packages/underscore/underscore.js:105:1)
I20160104-10:50:28.343(0)? at Object.task (packages/mongo/observe_multiplex.js:177:1)

Is this issue coming from reactive aggregation?

The error comes up in server console, and doesn't break anything or prevent startup

@JcBernack
Copy link
Owner

Do you have another subscription which is publishing data into the same collection?
Then you may have a problem similar to this one: http://stackoverflow.com/questions/17743937/this-removedcollection-id-makes-somewhere-exception-thrown
If not, I'm not sure what is causing it.

@seanmavley
Copy link
Contributor Author

I'll look into it and let you know.

On Mon, Jan 4, 2016, 17:38 J. C. Bernack notifications@github.com wrote:

Do you have another subscription which is publishing data into the same
collection?
Then you may have a problem similar to this one:
http://stackoverflow.com/questions/17743937/this-removedcollection-id-makes-somewhere-exception-thrown
If not, I'm not sure what is causing it.


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

@seanmavley
Copy link
Contributor Author

I think your hint was the culprit. Got it resolved.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants