SERVER-138153ClosedFixed

Move the previous-segment check from LSM to MaterializedTracker

The last step in the pre-refactoring is to move the CSCT dependency from LSM to mat-tracker. This way, the LSM acts purely as a provider of mat updates, and the tracker is responsible for sorting out what updates to forward to its observers. Importantly, we modify the {{update()}} to take the segment id. That is the critical part of this PR chain, as it is a blocker for allowing updates about historic segments independently of the LSM.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.