peerdb icon indicating copy to clipboard operation
peerdb copied to clipboard

Clickhouse + PeerDB OSS: check if minio bucket can be reached by Clickhouse

Open Amogh-Bharadwaj opened this issue 6 months ago • 0 comments

In Clickhouse peer validation, have a step where we have a dummy avro file in a minio bucket and we try to do a select * from s3() from that file, to ensure that the user's setup will be able to enable PeerDB to take rows from bucket and insert into actual tables. Set a query timeout of 2 - 5 seconds or similar so that we get a context cancellation error and we can tell the user that 'hey, your clickhouse can't reach our bucket'

Amogh-Bharadwaj avatar Jul 30 '24 12:07 Amogh-Bharadwaj