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

Seaweedfs+cannyls backend #194

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Seaweedfs+cannyls backend #194

wants to merge 7 commits into from

Conversation

cannium
Copy link
Contributor

@cannium cannium commented Sep 17, 2019

Implementation details that might need further pondering:

  • use build tags instead of plugins for storage backends
  • limit part size and object size to 30M
  • (accidentally) upgrade gorilla/mux to v1.7.3, and update config file accordingly
  • move GetUniqUploadName to a lower layer
  • ignore version since it's currently not being used, and a time-related version conflicts with appendable object

Related to #70.

- increase request timeout
- increase idle connection limit so keep long connections with volume server
- read all request body(and close) so the tcp connection could be reused
- use tags for conditional build

- Update config as mux updated

*Route.Host() matching now includes the host:port, as opposed to just the host.
see https://github.com/gorilla/mux/releases

Resolve conflicts
@cannium cannium force-pushed the backend-as-plugin branch 3 times, most recently from 13c0564 to 49a00ef Compare September 19, 2019 04:51
# Conflicts:
#	go.mod
#	go.sum
#	storage/object.go
#	tools/lc.go
@cannium
Copy link
Contributor Author

cannium commented Sep 19, 2019

Ready to be reviewed. The behavior of Ceph backend should not be changed in any way.

- fix GetObject offset calculation
- fix CopyObject test since cannyls limits object size to 30M
@cannium cannium mentioned this pull request Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant