Skip to content

Add Resumable Upload to Log Collector

shelikhoo requested to merge shelikhoo/logcollector:dev-chunkedupload into dev

This is a merge request covers resumable raw file upload. This will make it possible to finish the file upload in locations with limited network stability. In the design of this new resumable upload system, tus was used as the underlying protocol for this functionality.

The exact summary can be uploaded to the server without modification. The client can then upload the raw log to self-hosted tus with hash as filename. After the file is received by the server, the log collect will process the callback to create a hard link, thus allowing download by hash.

(Fixes: #3 (closed))

Merge request reports