Add --init-db flag to create db if it does not exist #20

Closed
opened 2018-10-06 18:41:02 +02:00 by Leopere · 2 comments
Leopere commented 2018-10-06 18:41:02 +02:00 (Migrated from github.com)
- [ ] add `--init-db` flag - [ ] if flag is set and db does not exist, create the db using the schema at https://github.com/lbryio/reflector.go/blob/master/db/db.go#L417-L452
chron0 commented 2020-06-06 14:42:00 +02:00 (Migrated from github.com)

Also, giving my 2 cents here... Wouldnt something like leveldb have made much more sense so we wouldnt have to run, monitor and secure a separate server process (mysql)? I'd love to hack around leveldb together with the reflector, but that doesnt make much sense to me as lond as S3 is a requirement.

Also, giving my 2 cents here... Wouldnt something like leveldb have made much more sense so we wouldnt have to run, monitor and secure a separate server process (mysql)? I'd love to hack around leveldb together with the reflector, but that doesnt make much sense to me as lond as S3 is a requirement.
lyoshenka commented 2020-06-09 16:57:19 +02:00 (Migrated from github.com)

The short answer is that neither s3 nor mysql are requirements. Different backends are supported and new ones (like leveldb) are easy to add.

There's a longer discussion here: https://github.com/lbryio/reflector.go/issues/28#issuecomment-640775545

The short answer is that neither s3 nor mysql are requirements. Different backends are supported and new ones (like leveldb) are easy to add. There's a longer discussion here: https://github.com/lbryio/reflector.go/issues/28#issuecomment-640775545
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/reflector.go#20
No description provided.