Alex Auvolat
bf0a24ea69
replace Option CRDT by explicit CancelingOption and MergingOption types
2026-05-13 11:20:06 +02:00
Gwen Lg
b060a7e0f1
fix: remove func call from alternative value.
...
this avoid useless allocation or non-trivial work, if the default value
is not needed/used.
add a line in Cargo.toml to easly enable or_fun_call lint
help: https://rust-lang.github.io/rust-clippy/master/index.html?search=or_fun_call
2026-02-17 18:38:44 +00:00
Gwen Lg
b0ee7dd3c9
chore: localy disable some lints
...
- clippy::nonminimal_bool disabled for check_size_filter function
clippy message: this boolean expression can be simplified
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#nonminimal_bool
- clippy::large_enum_variant for `DecryptStreamState` and `State`
- clippy::too_many_arguments for `put_block_and_meta` and
`test_read_encrypted`
- clippy::deref_addrof for specific unsafe code
- clippy::doc_overindented_list_items and clippy::doc_lazy_continuation
2026-01-29 20:49:28 +01:00
Alex Auvolat
90bba5889a
garage_db: rename len to approximate_len as it is used for stats only
2025-08-27 21:23:45 +02:00
Alex Auvolat
5b26545abf
fix deprecated uses of chrono in lifecycle worker
2025-02-14 18:08:23 +01:00
Renjaya Raga Zenta
4c1bf42192
feat: add use_local_tz configuration
...
Used in lifecycle_worker to determine midnight time
2024-11-23 05:51:12 +07:00
Alex Auvolat
05c92204ec
[rm-sled] Remove counted_tree_hack
2024-03-08 15:09:57 +01:00
Alex Auvolat
f97168f805
garage_db: refactor transactions and add on_commit mechanism
2023-09-21 15:35:31 +02:00
Alex Auvolat
4b4f2000f4
lifecycle: fix SkipBucket bug
2023-09-06 16:34:07 +02:00
Alex Auvolat
8e0c020bb9
lifecycle worker: correct small clippy lints
2023-09-04 11:33:44 +02:00
Alex Auvolat
1cdc321e28
lifecycle worker: don't get stuck on non-existent bucket
2023-08-31 11:36:30 +02:00
Alex Auvolat
f579d6d9b4
lifecycle worker: fix potential inifinite loop
2023-08-31 11:29:54 +02:00
Alex Auvolat
a00a52633f
lifecycle worker: add log message when starting
2023-08-31 11:25:14 +02:00
Alex Auvolat
adbf5925de
lifecycle worker: use queue_insert and process objects in batches
2023-08-31 11:19:26 +02:00
Alex Auvolat
1cfcc61de8
lifecycle worker: mitigate potential bugs + refactoring
2023-08-31 00:28:37 +02:00
Alex Auvolat
b2f679675e
lifecycle worker: take into account disabled rules
2023-08-30 23:52:09 +02:00
Alex Auvolat
01c327a07a
lifecycle worker: avoid building chrono's serde feature
2023-08-30 23:46:15 +02:00
Alex Auvolat
75ccc5a95c
lifecycle config: store date as given, try to debug
2023-08-30 20:02:07 +02:00
Alex Auvolat
7200954318
lifecycle worker: add logging
2023-08-30 14:54:52 +02:00
Alex Auvolat
da8b224e24
lifecycle worker: skip entire bucket when no lifecycle config is set
2023-08-30 14:38:19 +02:00
Alex Auvolat
2996dc875f
lifecycle worker: implement main functionality
2023-08-30 14:29:03 +02:00
Alex Auvolat
a2e0e34db5
lifecycle: skeleton for lifecycle worker
2023-08-30 12:41:11 +02:00