minio/pkg/s3select/json
Klaus Post 26e760ee62 Fix JSON Close data race. (#8486)
The JSON stream library has no safe way of aborting while

Since we cannot expect the called to safely handle "Read" and "Close" calls we must handle this.

Also any Read error returned from upstream will crash the server. We preserve the errors and instead always return io.EOF upstream, but send the error on Close.

`readahead v1.3.1` handles Read after Close better.

Updates to `progressReader` is mostly to ensure safety.

Fixes #8481
2019-11-05 14:20:37 -08:00
..
testdata Concurrent CSV parsing and reduce S3 select allocations (#8200) 2019-09-13 14:18:35 -07:00
args.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
errors.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
reader.go Fix JSON Close data race. (#8486) 2019-11-05 14:20:37 -08:00
reader_test.go Fix JSON Close data race. (#8486) 2019-11-05 14:20:37 -08:00
record.go S3 Select: Add parser support for lists. (#8329) 2019-10-06 07:52:45 -07:00