Commit graph

34 commits

Author SHA1 Message Date
Alex 1b450c4b49
Improvements to CLI and various fixes for netapp version
Discovery via consul, persist peer list to file
2021-10-22 16:55:24 +02:00
Alex 4067797d01
First port of Garage to Netapp 2021-10-22 15:55:18 +02:00
Quentin dc017a0cab
Build Garage with Nix
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2021-10-19 16:56:07 +02:00
Alex 1acf7e4c66
Fix git_version!() when not in git repo (fix #100)
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing
2021-10-11 14:26:54 +02:00
Alex b490ebc7f6
Many improvements on ring/replication and its configuration:
- Explicit "replication_mode" configuration parameters that takes
  either "none", "2" or "3" as values, instead of letting user configure
  replication factor themselves. These are presets whose corresponding
  replication/quorum values can be found in replication/mode.rs

- Explicit support for single-node and two-node deployments
  (number of nodes must be at least "replication_mode", with "none"
  we can have only one node)

- Ring is now stored much more compactly with 256*8 + n*32 bytes,
  instead of 256*32 bytes

- Support for gateway-only nodes that do not store data
  (these nodes still need a metadata_directory to store the list
  of bucket and keys since those are stored on all nodes; it also
  technically needs a data_directory to start but it will stay
  empty unless we have bugs)
2021-05-28 14:07:36 +02:00
Trinity Pointard e4b9e4e24d
rename types to CamelCase
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-05-03 22:15:09 +02:00
Trinity Pointard 6644df6b96
fix clippy warnings on garage 2021-05-03 22:11:42 +02:00
Alex 9ced9f78dc
Improve bootstraping: do it regularly; persist peer list 2021-04-27 16:37:08 +02:00
Alex 4eb16e8863 Allow to import keys from previous Garage instance
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-18 19:24:59 +01:00
Alex 3fadc5cbbd Small changes 2021-03-16 16:35:10 +01:00
Alex 515029d026 Refactor code
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-03-16 11:43:58 +01:00
Alex 6a8439fd13 Some improvements in background worker but we terminate late
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-15 23:14:12 +01:00
Alex 667e4e72a8 Small fixes 2021-03-15 19:51:16 +01:00
Alex 5ee1d956b6 Allow manipulation of keys by their shorthand in the CLI
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-15 19:14:26 +01:00
Alex 0290afe1f8 Make block rc code more understandable 2021-03-15 18:27:26 +01:00
Alex f4aad8fe6e cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-12 18:16:03 +01:00
Alex 5ab33fddac Refactor CLI and prettify CLI outpu
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-12 18:12:31 +01:00
Alex a1442f072a Implement garage stats to get info on node contents
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-12 15:40:54 +01:00
Alex 8d63738cb0 Checkpoint: add merkle tree in data table
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-11 13:47:21 +01:00
Quentin f496e41ef4 Replace an already done check by unreachable!() 2021-01-15 15:44:44 +01:00
Quentin 011ff87b5f Push update 2020-12-15 13:23:22 +01:00
Quentin 3bc4d57a0f First implementation of the CLI 2020-12-15 12:48:24 +01:00
Quentin a3566e49da Start to implement Website CLI 2020-12-14 21:50:40 +01:00
Quentin d0eb6a457f Migrate RPC to new schema 2020-12-14 21:46:49 +01:00
Quentin 96388acf23 Implement migration 2020-12-12 21:35:29 +01:00
Quentin e1ce2b228a WIP table migration 2020-12-12 17:00:31 +01:00
Quentin 51d0c14e44 CLI structure 2020-12-10 18:13:32 +01:00
Alex 173f0dbac9 oops 2020-11-20 23:53:54 +01:00
Alex f8a04852a2 Convert bucket table to better CRDT representation 2020-11-20 23:53:54 +01:00
Alex e02e9e035e Begin improve model to use better CRDTs 2020-11-20 23:53:54 +01:00
Alex e9fd265ce6 Slight refactoring to make things clearer with DeletedFilter 2020-11-20 20:11:04 +01:00
Alex a50fa70d45 Refactor error management in API part 2020-11-08 15:05:28 +01:00
Alex bec26a1312 Rename garage_core to garage_model 2020-07-07 13:59:22 +02:00
Alex d8f5e643bc Split code for modular compilation 2020-04-24 10:10:01 +00:00
Renamed from src/admin_rpc.rs (Browse further)