Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

S3 Connector -- update metadata backend to mongodb #108

Closed
Tracked by #139
LaurenSpiegel opened this issue Sep 7, 2023 · 11 comments
Closed
Tracked by #139

S3 Connector -- update metadata backend to mongodb #108

LaurenSpiegel opened this issue Sep 7, 2023 · 11 comments
Assignees
Labels

Comments

@LaurenSpiegel
Copy link
Collaborator

update motion docker compose to use mongo metadata backend and include mongo docker.

@celine3650 celine3650 assigned masih and unassigned hannahhoward Sep 18, 2023
@masih masih added P3 beta Feature for Beta release labels Oct 5, 2023
@xinaxu
Copy link
Collaborator

xinaxu commented Oct 19, 2023

@masih do you know what is this about?

@LaurenSpiegel
Copy link
Collaborator Author

currently the docker compose is using just a file system backend for the metadata zenko stores. This is not meant for production. There is a mongo db option that should be used instead.

@xinaxu xinaxu removed the beta Feature for Beta release label Oct 20, 2023
@xinaxu xinaxu unassigned masih Nov 2, 2023
@LaurenSpiegel
Copy link
Collaborator Author

@elijaharita , this seems like a P0 for actually guiding people to use motion with s3. otherwise, it's just in a demo local storage mode. cc @davidd8

@elijaharita
Copy link
Contributor

@LaurenSpiegel which Dockerfile is this configured in?

@LaurenSpiegel
Copy link
Collaborator Author

it should be here -- https://github.com/filecoin-project/motion-s3-connector/blob/main/docker-compose.yaml#L123

you need to set cloudserver to use mongo and make sure you are including a mongo instance

@masih masih added P0 and removed P3 labels Nov 10, 2023
@masih
Copy link
Member

masih commented Nov 10, 2023

@elijaharita this is the branch I started and have not got a chance to complete. Please feel free to take over it. thank you!

@Angelo-gh3990
Copy link
Contributor

Angelo-gh3990 commented Nov 10, 2023

Maybe use yugabyte if it needs high availability and scalability?

@masih
Copy link
Member

masih commented Nov 10, 2023

Maybe use yugabyte if it needs high availability and scalability?

This stack lives entirely on the ISV side, not SP.
My sense would be to avoid involving yugabyte here because: 1) there is no evidence yet to suggest that mongodb doesn't cut it for ISVs who want S3, and 2) I do not believe Yugabyte as a backing store is supported by Zenko cloudserver, and I am hesitent to spend time implementing this backing store support in Zenko cloud server/ Zenko arsenal.

@Angelo-gh3990
Copy link
Contributor

I agree . Maybe re-use the mongdb from singularly... extending it with a few tables or something

@gammazero
Copy link
Collaborator

@elijaharita See also, filecoin-project/motion-s3-connector#11

@xinaxu
Copy link
Collaborator

xinaxu commented Nov 27, 2023

See above link for PR and documentation of how to use mongodb as metadata backend in Production environment.

@xinaxu xinaxu closed this as completed Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Status: Done
Development

No branches or pull requests

7 participants