Skip to content

Push all blobs to minio #298

@uier

Description

@uier
  1. fallback logics
  2. upload to minio
  3. get from minio
  4. check they are the same
  5. delete gridfs
  6. return to user

places that used MinIO clients

  • submission._put_code, upload code to minio and store path in code_minio_path
  • submission._get_code_raw, fetch code from minio by code_minio_path
  • problem._save_test_case_zip, update test case binary to minio, and update path case_zip_minio_path
  • problem.get_test_case, fetch test case from minio by case_zip_minio_path
  • problem.generate_urls_for_uploading_test_case, get presigned urls from minio with len and size
  • problem.complete_test_case_upload, complete test case upload with presigned urls and store path in case_zip_minio_path

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions