Commit graph

  • cc4f1aca97
    sqlite can actually tell us its version Alex Auvolat 2022-06-07 18:22:27 +02:00
  • 845c344231
    Inform user of what DB engine Garage is running on Alex Auvolat 2022-06-07 18:20:51 +02:00
  • d41a67c4ee
    simplify & fix db tests Alex Auvolat 2022-06-07 18:06:30 +02:00
  • daec7995c3
    cargo fmt Alex Auvolat 2022-06-07 17:56:29 +02:00
  • c103ca8bf2
    Correct error type for (unimplemented) iterators in transactions Alex Auvolat 2022-06-07 17:56:11 +02:00
  • 0543cb3453
    Cleaner error management (less error-prone api) Alex Auvolat 2022-06-07 17:50:10 +02:00
  • 1bbe0794f3
    less pub(crate) Alex Auvolat 2022-06-07 17:23:17 +02:00
  • 6f3d43b75b
    prettier code Alex Auvolat 2022-06-07 17:21:01 +02:00
  • 8c6f690fa5
    less verbose code Alex Auvolat 2022-06-07 17:14:16 +02:00
  • cdc03da0b8
    make things more like before Alex Auvolat 2022-06-07 17:11:55 +02:00
  • 1d408d52b9
    Simplify Alex Auvolat 2022-06-07 17:10:22 +02:00
  • a3a01141ec
    db abstraction: make .insert() and .remove() return the old value Alex Auvolat 2022-06-07 17:05:17 +02:00
  • a9e79f848b
    Bring back the counted tree hack for Sled (with caveat) Alex Auvolat 2022-06-07 16:52:57 +02:00
  • 7eed3ceda9 docs: Add Trafik reverse proxy documentation Simon C 2022-06-07 11:21:48 +02:00
  • 1ad8b67bea docs: Add Trafik reverse proxy documentation Simon C 2022-06-07 11:21:48 +02:00
  • 4b8f48f3c5 docs: Fix title level Simon C 2022-06-07 09:44:03 +02:00
  • 7b0057bc6c docs: Fix title level Simon C 2022-06-07 09:44:03 +02:00
  • 7d3b5585f1 docs: Add link to facilitate navigation in the documentation Simon C 2022-06-07 09:38:59 +02:00
  • 5dbc79b77e
    Try once again to fix sqlite bundling in nix Alex Auvolat 2022-06-06 23:00:10 +02:00
  • 3de9320a0e
    bundled sqlite Alex Auvolat 2022-06-06 22:35:46 +02:00
  • 35544cac39
    Add nix overrides to include lmdb and sqlite3 libraries Alex Auvolat 2022-06-06 22:02:09 +02:00
  • e42c7bed38
    Remove useless clones in sqlite Alex Auvolat 2022-06-06 17:06:22 +02:00
  • 1f9a371b9a
    Fix clippy lint Alex Auvolat 2022-06-06 17:01:49 +02:00
  • 72a87c8686
    Add inline marker on a bunch of db functions Alex Auvolat 2022-06-06 16:51:00 +02:00
  • fd2fe18de3
    in db convert: map size up to 1TB on 64-bit systems Alex Auvolat 2022-06-06 16:44:47 +02:00
  • c3c8d59c99
    Fix more .unwrap()'s Alex Auvolat 2022-06-06 16:37:44 +02:00
  • bbf68aa039
    fix Alex Auvolat 2022-06-06 16:32:06 +02:00
  • 72e6419b1b
    add comment Alex Auvolat 2022-06-06 16:31:43 +02:00
  • 1dabd98330
    Improve things in block manager & correctly propagate .len() errors Alex Auvolat 2022-06-06 16:29:02 +02:00
  • 9238fda9b2
    Update Cargo.nix Alex Auvolat 2022-06-06 16:13:13 +02:00
  • 1897815358
    Table updated trigger now happens in transaction, this is waaaay better! Alex Auvolat 2022-06-06 15:46:00 +02:00
  • c56d858834
    Fix clippy Alex Auvolat 2022-06-06 15:10:33 +02:00
  • a65049db8f
    Simplify lmdb adapter (one less indirection) Alex Auvolat 2022-06-06 15:04:04 +02:00
  • 17918e2ef5
    Whoops Alex Auvolat 2022-06-06 14:09:17 +02:00
  • 0ab21e780e
    Small syntax changes Alex Auvolat 2022-06-06 14:08:19 +02:00
  • a77efd7ca6
    Safe choice: revert "Update rmp-serde" Alex Auvolat 2022-06-06 14:02:02 +02:00
  • 7f2cf0b809
    Safe choice: return Vec<u8> and not some fancy zero-copy type Alex Auvolat 2022-06-06 14:01:44 +02:00
  • 4539a6c229
    Fix more sqlite deadlocks Alex Auvolat 2022-06-06 12:02:42 +02:00
  • 4f5d17d464
    fixes Alex Auvolat 2022-06-06 11:30:10 +02:00
  • 2d5541b0e7
    Integrate LMDB with rest Alex Auvolat 2022-06-03 16:40:38 +02:00
  • f7a1c70089
    Implement iterator for LMDB Alex Auvolat 2022-06-03 16:18:56 +02:00
  • bd2997a453
    LMDB: use Heed wrapper (much more complete) Alex Auvolat 2022-06-03 15:53:20 +02:00
  • 4e72c713f1
    Start LMDB adapter, with fixed semantics Alex Auvolat 2022-06-03 15:31:07 +02:00
  • 16e0a655d0
    Update rmp-serde Alex Auvolat 2022-06-03 14:16:30 +02:00
  • d3d7df098b
    small fixes Alex Auvolat 2022-06-03 14:00:13 +02:00
  • 3d18c9e183
    whoops Alex Auvolat 2022-06-03 13:35:02 +02:00
  • 9bb58638f0
    Fix block repair to not deadlock with sqlite Alex Auvolat 2022-06-03 12:56:35 +02:00
  • 295bc2741f
    fix clipy lint Alex Auvolat 2022-06-03 12:52:41 +02:00
  • 4bf706b170
    Slightly prettier code Alex Auvolat 2022-06-03 12:35:12 +02:00
  • bd9ff432d7
    Garage works on sqlite, but it's a hack Alex Auvolat 2022-06-03 12:12:25 +02:00
  • df0877bbba
    Conversion utility Alex Auvolat 2022-06-03 11:44:41 +02:00
  • cc0d984118
    Fix most clippy lints Alex Auvolat 2022-06-03 11:14:24 +02:00
  • f25309e58f
    Change value type to be a dyn thing Alex Auvolat 2022-06-03 10:44:54 +02:00
  • 7b79906350
    Drop later Alex Auvolat 2022-06-03 04:44:40 +02:00
  • 6ebb54cddb
    Just refactor a bit Alex Auvolat 2022-06-02 23:46:28 +02:00
  • 0e4f336887
    Horrible implementation of range for sqlite Alex Auvolat 2022-06-02 23:43:32 +02:00
  • c439cb11a9
    Sqlite iter with unsafe code Alex Auvolat 2022-06-02 23:14:10 +02:00
  • 364061453c
    Add back Send Alex Auvolat 2022-06-02 22:05:57 +02:00
  • 43704afb29
    Begin sqlite adapter Alex Auvolat 2022-06-02 19:58:47 +02:00
  • f29b91232f
    Use Cell instead of ArcSwap Alex Auvolat 2022-06-02 18:11:32 +02:00
  • fbd5b64ff3
    Complete sled abstraction Alex Auvolat 2022-06-02 17:38:30 +02:00
  • 6805e184e9
    Do not put sled in garage's cargo.toml Alex Auvolat 2022-06-02 17:01:04 +02:00
  • 9f0f5b2e37
    Adapt Garage to use new DB abstraction Alex Auvolat 2022-06-02 16:58:00 +02:00
  • 04901093e7
    Implement iter() and range() on db Alex Auvolat 2022-06-02 15:25:24 +02:00
  • fd8d5c37f7
    First iteration of a generic DB layer Alex Auvolat 2022-06-02 14:59:26 +02:00
  • a1abed0378
    Remove useless MC_REGION env variable Quentin Dufour 2022-06-02 12:50:11 +02:00
  • b54a938724 Fix garage_version() now that GIT_VERSION is read in crate garage_rpc v0.7.2.1 Alex Auvolat 2022-05-30 11:11:35 +02:00
  • b5357546d2
    Fix garage_version() now that GIT_VERSION is read in crate garage_rpc Alex Auvolat 2022-05-30 11:11:35 +02:00
  • ff06d3f082
    Fix Content-Type headers for {admin,k2v} errors and admin responses Alex Auvolat 2022-05-25 17:05:56 +02:00
  • 93eab8eaa3 Fixes to S3 compatibility page (#314) Alex 2022-05-25 16:54:44 +02:00
  • 6e42b7b32f
    fix Alex Auvolat 2022-05-25 16:00:35 +02:00
  • 7a4dc80adf
    Fix english in doc Alex Auvolat 2022-05-25 15:59:41 +02:00
  • 7cf0fad415
    Fixes to S3 compatibility page Alex Auvolat 2022-05-25 15:53:06 +02:00
  • 43ddc933f9
    Update Ceph S3 endpoints compatibility Quentin Dufour 2022-05-25 15:20:08 +02:00
  • 9f303f6308
    Shorter page title Alex Auvolat 2022-05-24 15:47:42 +02:00
  • 3be43f3372
    Add lost content for Restic with Garage Alex Auvolat 2022-05-24 15:32:42 +02:00
  • 2da448b43f
    Add documentation for new Admin API and a few infos on K2V Alex Auvolat 2022-05-24 15:28:37 +02:00
  • eef04d4d59
    Enable k2v feature flag in CI v0.7.2-k2v Alex Auvolat 2022-05-10 13:29:14 +02:00
  • b2a2d3859f K2V client improvements (#307) v0.7.2 Alex 2022-05-24 12:48:05 +02:00
  • a73f174ada
    slightly change error formatting Alex Auvolat 2022-05-24 12:35:08 +02:00
  • 1b89225c78
    Move things around, improved error handling Alex Auvolat 2022-05-24 12:31:50 +02:00
  • 7fc9880d72
    Update cargo.nix Alex Auvolat 2022-05-20 21:37:53 +02:00
  • f24ee00f3e
    Add logging of errors to K2V client Alex Auvolat 2022-05-20 13:37:12 +02:00
  • 382e74c798 First version of admin API (#298) Alex 2022-05-24 12:16:39 +02:00
  • be59cafd47
    cargo fmt Alex Auvolat 2022-05-24 11:53:57 +02:00
  • 0b43a71351
    Fix some docs and change syntax of CreateBucket permissions Alex Auvolat 2022-05-24 11:52:33 +02:00
  • 2f250a83e1
    fix doc Alex Auvolat 2022-05-23 17:39:26 +02:00
  • 713c61acb8
    Enable k2v feature flag in CI v0.7.1-admin-k2v-2 Alex Auvolat 2022-05-10 13:29:14 +02:00
  • 1c88ee9bc5
    Make authorization token mandatory for admin API Alex Auvolat 2022-05-23 16:40:10 +02:00
  • d768f559da
    Update documentation with warning Alex Auvolat 2022-05-23 12:06:00 +02:00
  • a63a51e032
    Enable k2v feature flag in CI v0.7.1-admin-k2v Alex Auvolat 2022-05-10 13:29:14 +02:00
  • 99976e11f8
    Merge branch 'main' into admin-api Alex Auvolat 2022-05-18 22:35:49 +02:00
  • 64c193e3db Add a K2V client library and CLI (#303) trinity-1686a 2022-05-18 22:24:09 +02:00
  • 42ef5cde30 address review comments trinity-1686a 2022-05-18 18:34:38 +02:00
  • 5367f8adb2
    Refactor bucket emptiness check and add k2v check Alex Auvolat 2022-05-18 10:09:51 +02:00
  • 30e393b439
    Fix fmt Alex Auvolat 2022-05-18 00:32:51 +02:00
  • 926b3c0fad
    Rename error varian for Clippy Alex Auvolat 2022-05-18 00:27:57 +02:00
  • dcfa408887
    Implement ImportKey Alex Auvolat 2022-05-17 19:02:13 +02:00
  • 70383b4363
    Implement ConnectClusterNodes Alex Auvolat 2022-05-17 18:43:47 +02:00
  • 440a577563
    Prefix all APIs with v0/ Alex Auvolat 2022-05-17 17:51:38 +02:00