neondatabase / autoscaling

Postgres vertical autoscaling in k8s
Apache License 2.0
166 stars 21 forks source link

plugin: Log only once on successful agent request #1015

Closed sharnoff closed 4 months ago

sharnoff commented 4 months ago

Previously we'd log 4 times for each request.

This change moves all the fields into a single line that's emitted while we hold the state lock, so that we maintain the guarantee that log lines are produced in order of the changes that were made to the state.


Part of neondatabase/cloud#15591.