anindita Basu
2018-02-14 15:45:57 UTC
I am getting following exception
8-02-14 00:46:31.317 [cluster-ClusterId{value='5a81a50d4f91084ea47121eb',
description='null'}-maas-gt-p41-l0001.nam.nsroot.net:37017
5a81a50e4f91084ea47121ee ] INFO (cluster info Line:76) Exception in
monitor thread while connecting to server maas-gt-p41-l0001.nam.
nsroot.net:37017
com.mongodb.MongoCommandException: Command failed with error 11600:
'interrupted at shutdown' on server maas-gt-p41-l0001.nam.nsroot.net:37017.
The full response is { "ok" : 0.0, "errmsg" : "interrupted at shutdown",
"code" : 11600, "codeName" : "InterruptedAtShutdown"
}
Main Question:
Should I change application code to resolve exceptions due to primary step
down and election of a new primary by opening the connection again or
should I be able to handle this using the driver timeout settings and a
retry of save on exception?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c920e053-3cd4-43f1-a761-0a495db5b1a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
8-02-14 00:46:31.317 [cluster-ClusterId{value='5a81a50d4f91084ea47121eb',
description='null'}-maas-gt-p41-l0001.nam.nsroot.net:37017
5a81a50e4f91084ea47121ee ] INFO (cluster info Line:76) Exception in
monitor thread while connecting to server maas-gt-p41-l0001.nam.
nsroot.net:37017
com.mongodb.MongoCommandException: Command failed with error 11600:
'interrupted at shutdown' on server maas-gt-p41-l0001.nam.nsroot.net:37017.
The full response is { "ok" : 0.0, "errmsg" : "interrupted at shutdown",
"code" : 11600, "codeName" : "InterruptedAtShutdown"
}
Main Question:
Should I change application code to resolve exceptions due to primary step
down and election of a new primary by opening the connection again or
should I be able to handle this using the driver timeout settings and a
retry of save on exception?
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c920e053-3cd4-43f1-a761-0a495db5b1a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.