The plan cache uses a bunch of templates to separate the SBE plan cache and classic cache. The size_t works member can have different meanings depending on the template parameter. Now that we intend to store plans which we intend to run with SBE in the classic cache, we should add some type safety, and make the works member explicitly mark the type as "reads" or "works."
- related to
-
SERVER-91095 Make cases where plan cache stores neither works nor reads more explicit
- Backlog