[JAVA-2534] why the getmore method sudden stop Created: 09/Jun/17 Updated: 27/Oct/23 Resolved: 09/Jun/17 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 3.4.2 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | kunyin | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
use the code bellow: why the getmore command disappeare |
| Comments |
| Comment by Jeffrey Yemin [ 09/Jun/17 ] | |||||
|
It stopped because the replica set primary at 127.0.0.1:27017 became unreachable:
That will certainly caused getMore execution to complete abnormally and an exception thrown from cursor iteration. I suggest looking at the mongod logs for that server to see why that happened. | |||||
| Comment by kunyin [ 09/Jun/17 ] | |||||
|
Hi Ross Lawley, | |||||
| Comment by Ross Lawley [ 09/Jun/17 ] | |||||
|
Hi yin, Thanks for the ticket, could you include a text copy of the logs? The image doesn't provide enough information to determine what is happening. Please remember to remove any sensitive information from the log before attaching to this ticket. The "Command execution completed" debugging message is only outputted after the command response has been returned from the server. Ross |