Alex Chi Z
3fc3666df7
make flush frozen layer an atomic operation ( #4720 )
...
## Problem
close https://github.com/neondatabase/neon/issues/4712
## Summary of changes
Previously, when flushing frozen layers, it was split into two
operations: add delta layer to disk + remove frozen layer from memory.
This would cause a short period of time where we will have the same data
both in frozen and delta layer. In this PR, we merge them into one
atomic operation in layer map manager, therefore simplifying the code.
Note that if we decide to create image layers for L0 flush, it will
still be split into two operations on layer map.
---------
Signed-off-by: Alex Chi Z <chi@neon.tech >
Co-authored-by: Joonas Koivunen <joonas@neon.tech >
2023-07-20 13:39:19 -04:00
..
2023-07-20 13:39:19 -04:00
2023-06-05 18:12:58 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-03 15:21:10 +03:00
2023-07-03 15:21:10 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-12 15:12:37 +01:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-06-30 14:17:44 -07:00
2023-06-30 15:01:06 +03:00
2023-07-17 17:26:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-06-24 01:38:27 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-06-30 15:01:06 +03:00
2023-07-18 12:56:40 +03:00
2023-04-25 14:10:18 +02:00
2023-04-13 14:34:29 +03:00
2023-05-26 00:05:11 +03:00
2023-07-18 12:56:40 +03:00
2023-07-10 20:01:01 +01:00
2023-06-06 14:59:36 +01:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-06-29 15:06:07 -04:00
2023-05-05 02:57:47 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-05-18 22:38:33 +01:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-20 13:39:19 -04:00
2023-07-20 13:39:19 -04:00
2023-07-18 12:56:40 +03:00
2023-06-02 14:59:10 +03:00
2023-04-13 14:34:29 +03:00
2023-05-24 12:47:01 +01:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-06-24 10:34:15 +03:00
2023-06-15 17:30:12 +03:00
2023-07-18 12:56:40 +03:00
2023-06-15 17:30:12 +03:00
2023-05-04 16:16:48 +02:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-19 06:03:51 +04:00
2023-06-19 15:59:38 +04:00
2023-05-12 15:28:51 +01:00
2023-06-06 14:59:36 +01:00