Enum EmbeddingProfileActivationOutcome
- Namespace
- MailFathom.Application.Emails.Embeddings.Generations
- Assembly
- MailFathom.Application.dll
What activating a declared geometry did, which is what an operator is told it started.
public enum EmbeddingProfileActivationOutcome
Fields
AlreadyBuilding = 1This geometry is the generation already being built, and the reindex was left running.
Repeating the command is what an operator does after an index build failed, so it re-ensures the index rather than doing nothing at all.
AlreadyServing = 2This geometry is already the generation retrieval reads, so nothing was registered and nothing spent.
DifferentReindexRunning = 3A different generation is being built, so this activation was refused rather than started beside it.
One reindex at a time is the whole of the guarantee: two would put two partial generations in one table with one walk between them, and neither would ever reach the count that completes it. Cancelling the running one is what makes this activation possible.
ReindexStarted = 0A generation was registered for this geometry and a reindex began filling it.
Whatever was serving goes on serving until the new generation is complete. Where nothing was, retrieval stays lexical until the switch rather than reading a generation that is half built.
Remarks
Three of these spend nothing and the first spends a mailbox, which is why they are apart: an operator who ran the command twice has to be able to tell the run that began a reindex from the one that found it already running.