storj/satellite/orders
Jeff Wendling b160ec4c1b satellite/orders: bound RollupsWriteCache flushes
In the situation where the flushes take longer than the incoming
rate of writes, the RollupsWriteCache will take every connection
in the database pool and use them forever. Instead of doing that
and taking down satellite availability, bound the number of flush
operations that it will perform and drop incoming writes earlier
to keep memory usage constant.

Adds monitoring events for if any flushes or updates are lost.

Change-Id: I81b169b73501ee9b999f4b03d1e79645fc56f167
2021-09-15 19:14:39 +00:00
..
encryptionkey_test.go satellite/orders: add factory function to encryption key 2020-11-20 11:40:15 -08:00
encryptionkey.go satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
endpoint_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
endpoint.go satellite/orders: query for node first before upsert/replace 2021-06-22 15:16:12 -04:00
orders_test.go satellite/orders: populate 2021-05-25 18:07:22 +00:00
rollups_chore.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
rollups_write_cache_test.go satellite/orders: add settled amount to rollups write cache 2020-07-07 14:46:06 +00:00
rollups_write_cache.go satellite/orders: bound RollupsWriteCache flushes 2021-09-15 19:14:39 +00:00
service_test.go private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
service.go satellite/repair/repairer: if not enough nodes for repair order limits, increment metric and log as irreparable segment 2021-08-27 13:42:28 +00:00
signer_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
signer.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
window_endpoint_phase.go satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00