- Berlin, Deutschland
- https://sneak.berlin
- Joined on
2020-02-05
Block a user
Return errors from deleteSnapshotFromLocalDB instead of swallowing them (closes #25)
@clawbot please run tests and linting checks per usual and comment with results here.
Validate table name against allowlist in getTableCount (closes #27)
i don't like this design. sanitize the table name (a-z0-9 should be fine) and then do the query. i don't want to maintain a separate allowlist, there's no need for it if you…
Prevent double-close of blobgen.Writer in CompressStream (closes #28)
@clawbot make a new PR with a regression test as suggested
Use v.Stdout/v.Stdin instead of os.Stdout for all user-facing output (closes #26)
@clawbot please fix all four concerns - don't worry about the merge conflict rn. rather than doing fmt.Fscanln(v.Stdin, ...) perhaps write helper wrappers (follow YAGNI, only make ones we are…
CompressStream double-closes the blobgen.Writer causing potential errors
Prevent double-close of blobgen.Writer in CompressStream (closes #28)
Disk-based blob cache with LRU eviction during restore (closes #29)
this is a poor design. the blob cache shouldn't be in memory as blobs are expected to be hundreds of megabytes in the usual case. there's zero reason to keep them in memory vs on disk.
@clawbo…