Design 47 H: lead answer H-A-103 (the indexer's derived state between take-ins) #772
@@ -437,3 +437,8 @@ Where two preparers disagreed, the chosen one is named.
|
||||
- **H-A-102 (readers developer, 03:53)** `indexer_pending` answers `{"held": [{branch, source, why, since}]}`, `since`
|
||||
in RFC 3339, one form with the indexer's state `held` (H-A-97); the watchman reads it with a local type over the
|
||||
seat's `TakeInPending` plus `since`. P7, P8.
|
||||
- **H-A-103 (indexer developer, 03:55; two things held in memory)** (1) Between take-ins the indexer's view of a module
|
||||
change (a build's imports, a toolchain change, the reconcile) is derived state: the kept revision is the truth and a
|
||||
restart rebuilds the view from it and the events after it, so nothing kept lives only in memory. (2) A held
|
||||
message's acknowledgement handle is the bus consumer's; after a restart the bus redelivers the message and the state
|
||||
`held` says why it was held. Neither is a kept truth in memory; the review reads them so. P2, P3.
|
||||
|
||||
Reference in New Issue
Block a user