Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make fsync an option for meta and data | Alex Auvolat | 2023-06-09 | 3 | -14/+43 |
| | |||||
* | Revert integration tests to using Sled as LMDB causes failures | Alex Auvolat | 2023-06-09 | 1 | -0/+1 |
| | |||||
* | Split garage/admin.rs into smaller files | Alex Auvolat | 2023-06-06 | 5 | -1298/+1342 |
| | |||||
* | Mark sled as deprecated, make lmdb default, and improve sqlite and lmdb defaults | Alex Auvolat | 2023-05-17 | 7 | -10/+26 |
| | |||||
* | Merge branch 'main' into next | Alex Auvolat | 2023-05-09 | 13 | -48/+70 |
|\ | |||||
| * | Merge pull request 'move git-version dependency to main crate to reduce ↵ | Alex | 2023-05-09 | 4 | -9/+11 |
| |\ | | | | | | | | | | | | | | | | rebuilds' (#568) from move-git-version into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/568 | ||||
| | * | move git-version dependency to main crate to reduce rebuilds | Alex Auvolat | 2023-05-09 | 4 | -9/+11 |
| | | | |||||
| * | | Merge pull request 'block/manager.rs: Prioritize raw blocks when no ↵ | Alex | 2023-05-09 | 1 | -5/+25 |
| |\ \ | | |/ | |/| | | | | | | | | | | compression configured' (#566) from jpds/garage:skip-compressed-blocks-scrub-no-compression into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/566 | ||||
| | * | block/manager.rs: In is_block_compressed - check which compression_level | Jonathan Davies | 2023-05-09 | 1 | -5/+25 |
| | | | | | | | | | | | | | | | is configured on a node and check for raw block first if compression is disabled (to help reduce syscalls during a scrub). | ||||
| * | | Merge pull request 'Really allow to disable `sled` feature' (#563) from ↵ | Alex | 2023-05-09 | 9 | -32/+32 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | jirutka/garage:workspace-deps into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/563 | ||||
| | * | | Declare garage crates using workspace.dependencies | Jakub Jirutka | 2023-05-09 | 9 | -32/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table | ||||
| * | | | Merge pull request 'Fix undefined macro warn! on 32-bit' (#562) from ↵ | Alex | 2023-05-09 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | jirutka/garage:fix-undefined-warn into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/562 | ||||
| | * | | Fix undefined macro warn! on 32-bit | Jakub Jirutka | 2023-05-07 | 1 | -1/+1 |
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compiling garage_db v0.8.2 (garage-0.8.2/src/db) error: cannot find macro `warn` in this scope --> src/db/lmdb_adapter.rs:352:2 | 352 | warn!("LMDB is not recommended on 32-bit systems, database size will be limited"); | ^^^^ | = help: consider importing this macro: tracing::warn = note: `warn` is in scope, but it is an attribute: `#[warn]` error: could not compile `garage_db` due to previous error | ||||
| * / | Remove unnecessary/unused "timeago" features | Jakub Jirutka | 2023-05-07 | 1 | -1/+1 |
| |/ | | | | | | | To decrease dependency bloat and binary size. | ||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-04-25 | 80 | -707/+2801 |
|\| | |||||
| * | Merge pull request 'api/Cargo.toml: Bumped quick-xml to version 0.26.' ↵ | Alex | 2023-04-24 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | | | | (#552) from jpds/garage:quick-xml-0.26 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/552 | ||||
| | * | api/Cargo.toml: Bumped quick-xml to version 0.26. | Jonathan Davies | 2023-04-23 | 1 | -1/+1 |
| | | | |||||
| * | | block/repair.rs: Added log entries for scrub start/finish. | Jonathan Davies | 2023-04-23 | 1 | -2/+12 |
| |/ | |||||
| * | obsolete clippy lintsv0.8.2prepare-v082 | Alex Auvolat | 2023-03-13 | 2 | -2/+0 |
| | | |||||
| * | Prepare for v0.8.2 | Alex Auvolat | 2023-03-13 | 11 | -41/+42 |
| | | |||||
| * | Merge pull request 'Increase Garage tests robustness' (#526) from ↵ | Alex | 2023-03-13 | 8 | -63/+58 |
| |\ | | | | | | | | | | | | | | | | | | | | | | tests/increase-robustness into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/526 Reviewed-by: Alex <alex@adnab.me> Reviewed-by: trinity-1686a <trinity.pointard@gmail.com> | ||||
| | * | use one key per context to isolate teststests/increase-robustness | Quentin Dufour | 2023-03-13 | 8 | -58/+40 |
| | | | |||||
| | * | do not assume Garage boots in 2sec during tests | Quentin Dufour | 2023-03-13 | 1 | -6/+19 |
| | | | |||||
| * | | Merge branch 'main' into rustversion-label | Alex Auvolat | 2023-03-13 | 3 | -16/+50 |
| |\| | |||||
| | * | Merge branch 'main' into pnet_datalink-0.33.0 | teutat3s | 2023-03-13 | 7 | -31/+174 |
| | |\ | |||||
| | | * | block/manager.rs: Set defaults for scrub_persister. | Jonathan Davies | 2023-03-09 | 1 | -0/+1 |
| | | | | |||||
| | | * | block/repair.rs: Added a timestamp argument to | Jonathan Davies | 2023-03-09 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | randomize_next_scrub_run_time(). | ||||
| | | * | block/repair.rs: Added migration for ScrubWorkerPersisted's time_next_run_scrub. | Jonathan Davies | 2023-03-09 | 1 | -10/+44 |
| | | | | | | | | | | | | | | | | Fixes: #520. | ||||
| | * | | Bump pnet_datalink 0.28 -> 0.33 | teutat3s | 2023-02-28 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation: building garage on illumos is only possible since pnet_datalink version 0.30 Changelog: https://github.com/libpnet/libpnet/compare/v0.28.0...v0.33.0 | ||||
| * | | | admin/cluster.rs: Added rust_version. | Jonathan Davies | 2023-03-10 | 1 | -0/+2 |
| | | | | |||||
| * | | | garage/admin.rs: Display Rust version in stats output. | Jonathan Davies | 2023-03-10 | 1 | -1/+2 |
| | | | | |||||
| * | | | rpc/system_metrics.rs: Added rustversion label to garage_build_info metric. | Jonathan Davies | 2023-03-10 | 4 | -4/+19 |
| | |/ | |/| | |||||
| * | | Merge pull request 'block/repair.rs: Added a random element of 10 days to ↵ | Alex | 2023-03-06 | 2 | -11/+40 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | SCRUB_INTERVAL' (#516) from jpds/garage:scrub-randomize-window into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/516 | ||||
| | * | | block/manager.rs: Display scrub-next-run. | Jonathan Davies | 2023-03-06 | 1 | -0/+3 |
| | | | | |||||
| | * | | block/repair.rs: Added function and time_next_run_scrub with a random element of | Jonathan Davies | 2023-03-06 | 1 | -11/+37 |
| | | | | | | | | | | | | | | | | 10 days to SCRUB_INTERVAL to help balance scrub load across cluster. | ||||
| * | | | Merge pull request 'web_server.rs: Log X-Forwarded-For IP' (#504) from ↵ | Alex | 2023-03-06 | 4 | -10/+82 |
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | jpds/garage:web_server-log-x-forwarded-for into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/504 | ||||
| | * | | web/web_server.rs: Handle X-Forwarded-For here too. | Jonathan Davies | 2023-03-06 | 1 | -1/+14 |
| | | | | |||||
| | * | | api/generic_server.rs: Use new handle_forwarded_for_headers() function. | Jonathan Davies | 2023-03-06 | 1 | -9/+4 |
| | | | | |||||
| | * | | util/forwarded_headers.rs: Generalized handle_forwarded_for_headers() | Jonathan Davies | 2023-03-03 | 2 | -0/+64 |
| | |/ | | | | | | | | | | here. | ||||
| * / | Clearer error message when LMDB has oom error (fix #517) | Alex Auvolat | 2023-03-06 | 1 | -3/+10 |
| |/ | |||||
| * | Merge pull request 'generic_server.rs: Added support for logging ↵ | Alex | 2023-02-06 | 1 | -1/+20 |
| |\ | | | | | | | | | | | | | | | | X-Forwarded-For header.' (#500) from jpds/garage:generic_server-log-x-forwarded-for into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/500 | ||||
| | * | generic_server.rs: Added support for logging X-Forwarded-For header. | Jonathan Davies | 2023-02-04 | 1 | -1/+20 |
| | | | | | | | | | | | | Fixes: #460 | ||||
| * | | Merge pull request 'Secrets can be passed directly in config, as file, or as ↵ | Alex | 2023-02-06 | 5 | -66/+133 |
| |\ \ | | |/ | |/| | | | | | | | | | | env' (#499) from config-files-env into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/499 | ||||
| | * | fixes for pr 499config-files-env | Alex Auvolat | 2023-02-06 | 2 | -5/+6 |
| | | | |||||
| | * | secrets can be passed directly in config, as file, or as env | Alex Auvolat | 2023-02-03 | 5 | -66/+132 |
| | | | |||||
| * | | error.rs: Corrected error messages to say unexpected scope. | Jonathan Davies | 2023-02-02 | 3 | -3/+3 |
| |/ | |||||
| * | Merge pull request 'Fix duplicated content-type in error document' (#493) ↵ | Alex | 2023-01-30 | 1 | -1/+0 |
| |\ | | | | | | | | | | | | | | | | from baptiste/garage:fix_error_document_content_type into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/493 | ||||
| | * | Fix duplicated content-type in error document | Baptiste Jonglez | 2023-01-29 | 1 | -1/+0 |
| | | | | | | | | | | | | Fixes #492 | ||||
| * | | Improved bucket authorization response strings. | Jonathan Davies | 2023-01-29 | 2 | -9/+13 |
| | | | |||||
| * | | api_server.rs: Adapted to use query string per Caddy upstream change. | Jonathan Davies | 2023-01-29 | 2 | -29/+70 |
| |/ |