Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose segment files locally, remove the need for smart servers #191

Open
RonnyPfannschmidt opened this issue Sep 7, 2015 · 3 comments

Comments

@RonnyPfannschmidt
Copy link
Contributor

No description provided.

@ThomasWaldmann
Copy link
Member

IIRC, the repo index and the usage of segments is an implementation detail of this k/v store implementation. if we had another backend for kv storage, it could work completely differently (aside from the basic kv operations).

@anarcat
Copy link
Contributor

anarcat commented Oct 6, 2015

it would be great to have an abstraction for that kv storage... it would help in resolving #102 or generally to make borg extensible to more than the "borg server over SSH" backend. :)

we do have a "generic" k/v API, but the RemoteRepository implementation is expected to respond to way more stuff than just CRUD key/values... it actually has a higher-level implementation with commands like repair and check which is somewhat problematic if we deal with abstract storage backends...

@ThomasWaldmann
Copy link
Member

#8332 solved half of this:

  • a smart server is not needed any more, any kv store implemented as borgstore backend would do (currently there is sftp as a remote server-less backend)
  • we do not compose segment files locally though, but rather store each chunk to a separate object in the store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants