|
|
@@ -2377,7 +2377,11 @@ ways:
|
|
|
estimate plus the vectors before upgrading. Memory use is then unchanged.
|
|
|
- Keep the budget and let eviction release vectors. Resident memory falls,
|
|
|
at the cost of a burst of `RESOURCE_EXHAUSTED` writes right after the boot,
|
|
|
- and the drain cap below may pause eviction at `soft`.
|
|
|
+ and the drain cap below may pause eviction at `soft`. The drain takes longer
|
|
|
+ than a typical caller's retry budget (for example 3 attempts 500 ms apart),
|
|
|
+ so callers see exhausted retries, not a short pause. Every write is refused
|
|
|
+ during that time, `createCollection` included, so bootstrap steps a service
|
|
|
+ runs at startup fail until pressure drops.
|
|
|
|
|
|
#### Drain cap (2.4.3+)
|
|
|
|