[SERVER-5889] Refactor codes to use the helper method replyToQuery (defined in dbmessage.cpp) as much as possible Created: 21/May/12  Updated: 26/Oct/15  Resolved: 26/Oct/15

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: 2.1.1
Fix Version/s: None

Type: Task Priority: Trivial - P5
Reporter: Randolph Tan Assignee: David Storch
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Some places in the code that are good candidates for refactoring:

1. Couple of the methods in db/ops/query.cpp
2. receivedQuery in db/instance.cpp (and possibly receivedGetMore)
3. Might be more...



 Comments   
Comment by David Storch [ 26/Oct/15 ]

With the introduction of the find/getMore commands under SERVER-15176, replyToQuery() is only useful in legacy code paths. This seems like low-value maintenance of legacy code, so I'm closing as "Won't Fix".

Comment by Randolph Tan [ 26/Aug/14 ]

Some of the query code changed, like db/ops/query.cpp doesn't exist anymore. But some parts of the code, like the one in instance.cpp still applies.

Generated at Thu Feb 08 03:10:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.