minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
78 stars 50 forks source link

Question about consistency checks v/s eventual consistency checks added in tests #183

Closed harshavardhana closed 6 years ago

harshavardhana commented 6 years ago

This discussion starts from the question here https://github.com/minio/mint/pull/177, why do we need to add delays specifically for different gateways. This happens with Backblaze B2 for bucket policies in minio-java as well.

The reason we need to discuss this is to see if its a good idea to add these delays in our test code, perhaps even come up with modes for gateway where we have a separate setup and teardown such that we do not have to relax actual minio server tests which are strongly consistent and do not have to make them eventual consistent.

// cc @krisis @balamurugana @nitisht @kannappanr @ebozduman

krisis commented 6 years ago

@ebozduman @harshavardhana this issue should be marked blocked until we have a discussion.

kannappanr commented 6 years ago

@krisis to discuss with @harshavardhana and unblock this issue

deekoder commented 6 years ago

Decided to simply add the delay to acceptable levels and so its not an issue anymore.