[SERVER-69960] Refactor isChangeCollectionsModeActive Created: 26/Sep/22 Updated: 22/May/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rishab Joshi (Inactive) | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Execution
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 31 | ||||||||||||||||
| Description |
|
Once the feature flag and its FCV check is removed in SERVER-64947, we can collapse the functions change_stream_serverless_helpers::canInitializeServices and change_stream_serverless_helpers::isServerlessEnvironment into change_stream_serverless_helpers::isChangeCollectionsModeActive and just call that everywhere instead. |
| Comments |
| Comment by Romans Kasperovics [ 09/May/23 ] |
|
Related thread: https://github.com/10gen/mongo/pull/7663#discussion_r976829784 |