1. Connect to a secondary replica set member of MongoDB 3.0 or 3.2 as follows:
- In the General tab, choose "Stand Alone" as Connection Type and enter the Host and Port values for a secondary replica set member.
- In the Driver tab, specify "slaveOK=true" in the Parameters field.
2. When expanding the Collections node in the schema browser, the SHOW COLLECTIONS command returns the error message "Not talking to master and retries used up".
3. When expanding the Indexes node in the schema browser, the SHOW INDEXES command returns the error message "Not talking to master and retries used up".
|
221 KB
In this scenario, the primary replica set member is not accessible. The following Java APIs in MongoDB Java Driver 2.13 use a readPreference of "primary" and therefore they fail.
- DB.getCollectionNames
- DBCollection.getIndexInfo
Added a workaround to run MongoDB JavaScript commands instead.
- db.getCollectionNames()
- db.collection.getIndexes()
This issue is fixed in v17 only. This issue is not reproducible in v18 with MongoDB Java Driver 3.2.
Verified in ADS 17.0.3-18 for MongoDB 3.2.4. Please refer attached screenshot
Verified in ADS 17.0.3-18 for MongoDB 3.2.4. Please refer attached screenshot
Issue #14355 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 17.0.3-18 |
No time estimate |
In this scenario, the primary replica set member is not accessible. The following Java APIs in MongoDB Java Driver 2.13 use a readPreference of "primary" and therefore they fail.
- DB.getCollectionNames
- DBCollection.getIndexInfo
Added a workaround to run MongoDB JavaScript commands instead.
- db.getCollectionNames()
- db.collection.getIndexes()
This issue is fixed in v17 only. This issue is not reproducible in v18 with MongoDB Java Driver 3.2.