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

paginate not working with mongoDB replica set #150

Open
RayKahn opened this issue Oct 29, 2018 · 1 comment
Open

paginate not working with mongoDB replica set #150

RayKahn opened this issue Oct 29, 2018 · 1 comment

Comments

@RayKahn
Copy link

RayKahn commented Oct 29, 2018

We are using mongoose-paginate in an environment with mongoDB replica set. It seems that mongoose-paginate doesn't work in such an environment. We do not see any errors in the server log files; the server just hangs and does not respond.
Executing the same code in a non-replica set environment works perfectly fine.
Does anyone have any idea how to debug this issue?

@anthonyringoet
Copy link

@RayKahn Did you fix this?

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