|
Linking to SERVER-10637, which requests that isMaster includes the connectionId.
|
|
Another thing to consider, though this isn't a deal breaker - just something we would likely have to document, applications that use old drivers written for server versions previous to 2.6 will break.
|
|
This would also seem to be one more nail in the coffin for unacknowledged writes.
|
|
Helpers aren't a big problem since we can document them as deprecated and document what server versions they support (or, alternatively, what server version removed support). It's automatic internal use in drivers I'm worried about.
|
|
Just removing it in 3.6 seems ok. PyMongo has a deprecated helper called "error" that's been deprecated for years, and not even useful, given how connection pooling works in PyMongo. The C Driver has no helper. Neither driver uses getLastError internally with MongoDB 2.6+.
|
|
Assuming drivers can drop support for MongoDB 2.4 in the releases that support 3.6, I think the answer is yes. We'll have to do some research to ensure no driver is using getLastError for anything other than inserts, updates, and deletes.
|
Generated at Thu Feb 08 08:21:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.