You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prometheus/tips.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,6 +175,7 @@ What fsync means in Prometheus:
175
175
I found a link: <https://groups.google.com/g/prometheus-users/c/Oy1qI3Og9ww> but the logic seems to be changed in the current source code (v3.8.0).
176
176
177
177
I use [deepwiki](https://deepwiki.com/search/when-fsync-is-performed_cbf97034-616c-403a-8ff3-de92da849479) to check how fsync is performed in Prometheus.
178
+
178
179
- The WAL implementation performs fsync in several scenarios:
179
180
- During segment rotation: When creating a new segment, the previous segment is fsynced asynchronously via `w.fsync(prev)`.
180
181
- During close operation: The active segment is fsynced before closing.
0 commit comments