[SERVER-67243] Add a linter to server_options.h FCV helpers to enforce that they are only used in generic FCV checks Created: 13/Jun/22 Updated: 15/Mar/23 Resolved: 15/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Huayu Ouyang | Assignee: | Backlog - Replication Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | milestone-2, pm-2821-milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Replication
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
For isLessThanOrEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, and isUpgradingOrDowngrading, we should add a linter to ban them unless a comment is added preceding the usage to enforce they are only used in generic FCV checks. This will be similar to the generic FCV reference linter |
| Comments |
| Comment by Samyukta Lanka [ 15/Mar/23 ] |
|
This would be enforced already once |