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

Fix upload to external store #564

Merged
merged 56 commits into from
Jun 9, 2020
Merged

Conversation

joyceyuu
Copy link
Contributor

@joyceyuu joyceyuu commented Jun 1, 2020

This pull request is to fix some bugs arise when testing encoding and blocks uploads to external object store.

  1. The credentials used to create bucket should be environment credentials with MINIO_ACCESS_KEY and MINIO_SECRET_KEY rather than credentials from clients since it causes access denied error.

  2. The uploaded encodings are not actual bytes but encoded strings. We need to deserialise the encodings properly before appending entity_id which assumes encodings are bytes stream

  3. The uploaded blocks has two elements - blocks and metadata. Pull blocks only when writing to database.

Please review this after merging #563

hardbyte and others added 30 commits November 21, 2017 16:40
Merge similarity score work into master
Merge into master for release 1.7.3
Release with Multiparty Examples
Changes for v1.11.2 into master
# Conflicts:
#	backend/entityservice/VERSION
#	deployment/entity-service/Chart.yaml
#	deployment/entity-service/values.yaml
#	docs/changelog.rst
#	docs/conf.py
#	frontend/VERSION
@joyceyuu joyceyuu requested a review from wilko77 June 1, 2020 01:10
backend/entityservice/tasks/encoding_uploading.py Outdated Show resolved Hide resolved
backend/entityservice/tasks/encoding_uploading.py Outdated Show resolved Hide resolved
backend/entityservice/tasks/encoding_uploading.py Outdated Show resolved Hide resolved
@joyceyuu joyceyuu requested a review from wilko77 June 9, 2020 04:43
Copy link
Collaborator

@wilko77 wilko77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@joyceyuu joyceyuu merged commit 1cbb6df into develop Jun 9, 2020
@joyceyuu joyceyuu deleted the fix-upload-to-external-store branch June 9, 2020 06:35
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.

None yet

5 participants