feat: add use_local_tz configuration #908
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#908
Loading…
Reference in a new issue
No description provided.
Delete branch "ragazenta/garage:feat/local-timezone"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Used in lifecycle_worker to determine midnight time.
Midnight UTC might be working hour in another timezone. This commit add a boolean
use_local_tz
config, if it's true, determine midnight time in local timezone instead.This could lead to interesting behaviors if not all nodes share the same local TZ settings... Nothing dangerous, but maybe some unexpected?
e478f865cb
to4c1bf42192
This is only used to determine when the lifecycle_worker starts. Currently we only use single node setup.
If I understand correctly, the node with earlier timezone will win, no?
Fixes: #899
Well from my understanding workers might start at different times on different nodes depending on the local configured TZ
@ragazenta do you mind adding something to the reference configuration?