aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Properly return HTTP 204 when deleting non-existent object (fix #227)deleteobject-204Alex Auvolat2022-09-142-8/+16
|
* Merge pull request 'Allow for hostnames in bootstrap_peers and ↵Alex2022-09-146-58/+83
|\ | | | | | | | | | | rpc_public_addr (fix #353)' (#383) from resolve-peer-names into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/383
| * Allow for hostnames in bootstrap_peers and rpc_public_addr (fix #353)resolve-peer-namesAlex Auvolat2022-09-146-58/+83
|/
* Merge pull request 'various fixes for v0.8.0' (#380) from ↵v0.8.0-beta1Alex2022-09-1323-59/+81
|\ | | | | | | | | | | various-fixes-for-0.8 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/380
| * Add checks on replication_factor of layouts we use (fix #363, fix #364)various-fixes-for-0.8Alex Auvolat2022-09-132-6/+26
| |
| * Fix clippy lint that says we should implement EqAlex Auvolat2022-09-1318-47/+47
| |
| * Remove/change println! in server code (fix #358)Alex Auvolat2022-09-134-4/+1
| |
| * Ensure data dir is created immediately when Garage starts (fix #349)Alex Auvolat2022-09-131-2/+7
|/
* Merge pull request 'use netapp streaming body' (#343) from ↵Alex2022-09-1324-349/+615
|\ | | | | | | | | | | netapp-stream-body into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/343
| * Use streaming block API for get with Range requestsnetapp-stream-bodyAlex Auvolat2022-09-131-33/+60
| |
| * Use netapp 0.5 published from crates.ioAlex Auvolat2022-09-136-48/+40
| |
| * improvements in block managerAlex Auvolat2022-09-121-13/+16
| |
| * Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-09-0842-1068/+1332
| |\
| * | Faster copy, better get error messageAlex Auvolat2022-09-062-9/+7
| | |
| * | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-09-0611-535/+735
| |\ \
| * | | Update netapp to lastest git version with LAS schedulingAlex Auvolat2022-09-062-65/+32
| | | |
| * | | Reenable node orderingAlex Auvolat2022-09-061-6/+4
| | | |
| * | | Make use of BytesBuf from new NetappAlex Auvolat2022-09-021-33/+10
| | | |
| * | | cargo fmtAlex Auvolat2022-09-021-1/+2
| | | |
| * | | Apply PRIO_SECONDARY to block data transfersAlex Auvolat2022-09-012-4/+4
| | | |
| * | | update cargo.nixAlex Auvolat2022-09-011-5/+5
| | | |
| * | | Less strict timeoutsAlex Auvolat2022-09-017-10/+16
| | | |
| * | | update netapp: straming + fix-pingAlex Auvolat2022-09-012-10/+9
| | | |
| * | | Update to Netapp with OrderTag support and exploit OrderTagsAlex Auvolat2022-09-015-26/+64
| | | |
| * | | netapp recv with unbounded channel removes deadlockAlex Auvolat2022-09-012-6/+6
| | | |
| * | | Fix bytes_read counterAlex Auvolat2022-08-311-4/+9
| | | |
| * | | update netapp git commitAlex Auvolat2022-08-312-7/+7
| | | |
| * | | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-08-314-8/+214
| |\ \ \
| * | | | Try to fix clippyAlex Auvolat2022-08-291-1/+1
| | | | |
| * | | | cargo2nix fix to fetchCrateGitAlex Auvolat2022-08-291-4/+4
| | | | |
| * | | | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-08-291-1/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-08-2913-83/+116
| |\ \ \ \ \
| * | | | | | Factor out node request order selection logic & use in managerAlex Auvolat2022-07-294-41/+60
| | | | | | |
| * | | | | | Update cargo.nixAlex Auvolat2022-07-291-8/+8
| | | | | | |
| * | | | | | update netappAlex Auvolat2022-07-291-1/+1
| | | | | | |
| * | | | | | Update cargo.nixAlex Auvolat2022-07-291-73/+103
| | | | | | |
| * | | | | | Fix clippyAlex Auvolat2022-07-292-5/+1
| | | | | | |
| * | | | | | Use streaming in block managerAlex Auvolat2022-07-297-88/+284
| | | | | | |
| * | | | | | update netapp to 0.5Alex Auvolat2022-07-295-10/+10
| | | | | | |
| * | | | | | First adaptation to WIP netapp with streaming bodyAlex Auvolat2022-07-2912-112/+97
| | | | | | |
* | | | | | | Merge pull request 'performance improvements' (#342) from ↵Alex2022-09-1216-310/+646
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lx-perf-improvements into main Performance improvements included in this PR: - [x] Use `Bytes` at a few places where appropriate, instead of `Vec<u8>`, to reduce the number of copies - [x] StreamChunker now accumulates incoming slices in a `Vec<Bytes>` instead of a `VecDeque<u8>`. Replaces calls to `.extend()` and `.drain()` that were quite costly by a simple `concat()` on a vec of slices which is much more optimized - [x] Hashing (b2, sha256, md5) is now done on a Tokio thread dedicated to cpu-intensive tasks, using `spawn_blocking` - [x] Block manager now uses 256 independant locks instead of one big lock for writing, reduces contention when writing several/many objects in parallel - [x] Better LMDB defaults: we now put flags `NoSync` and `NoMetaSync` to avoid `fsync` at each transaction (extremely slow). Also increased number of LMDB readers to accomodate more intensive workloads Other changes included in this PR: - [x] Update to hashing and MAC crates: md5 and sha2 from 0.9 to 0.10, hmac from 0.10 to 0.12 - [x] switch to `tracing_subscriber` for logs, which allows to have timing of each event Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/342
| * | | | | | | Simplify+improve async hasher by using bounded channellx-perf-improvementsAlex Auvolat2022-09-121-8/+5
| | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge branch 'main' into lx-perf-improvementsAlex Auvolat2022-09-0842-1076/+1341
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request 'Reorganize dependencies' (#373) from improve-deps into mainAlex2022-09-0843-943/+1288
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR includes work from @jirutka : - [x] Allow linking against system-provided libraries (libsodium, libsqlite, libzstd) #370 - [x] Make OTLP exporter optional and allow building without Prometheus exporter (/metrics) #372 And also: - [x] Update `.nix` files - [x] Remove heed default-features - [x] Bump versions of all Garage crates to 0.8.0 - [x] Make db engines (lmdb, sled, sqlite) optionnal - [x] Add documentation for available features - [x] Directly include code of previous versions used for migration in order to reduce dependencies - [x] Read variable `GIT_VERSION` from garage main instead of in crate garage_util to make builds faster - [x] Report features used in the build somewhere? (in `garage --version` or something) - [x] Check we `warn!` correctly if we try to use deactivated feature - [x] Allow not to launch S3 endpoint if not in config Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/373
| * | | | | | Move version back into utilimprove-depsAlex Auvolat2022-09-0711-18/+21
| | | | | | |
| * | | | | | Inject GIT_VERSION even laterAlex Auvolat2022-09-073-18/+28
| | | | | | |
| * | | | | | Fix mergeAlex Auvolat2022-09-072-5/+5
| | | | | | |
| * | | | | | Merge branch 'main' into improve-depsAlex Auvolat2022-09-079-528/+725
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix build errorAlex Auvolat2022-09-071-1/+1
| | | | | | |
| * | | | | | Add warnings when features are not included in buildAlex Auvolat2022-09-072-0/+8
| | | | | | |