You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
store/bucket: make getFor() work with interleaved resolutions (#1146)
* store/bucket_test: add interleaved resolutions test for getFor()
* store/bucket: include blocks in the middle as well
* store/bucket: add test cases with duplicated time ranges
* query/querier: send proper maxSourceResolution
Without this, we get max resolutions like 1, 2, 3 which do not mean
anything to getFor(). With this, we get proper data from Thanos Store.
* README: add entry
* query/querier_test: add queryableCreator test
Makes a querier via queryableCreator and checks if the
maxSourceResolution was passed properly.
* store/bucket: do the iteration without sorting
* store/bucket: bsi->j in loop
Makes it clearer that it's just a temporary variable for the loop.
* store/bucket: fix according to review comments
* Convert parseDownsamplingParam() into parseDownsamplingParamMillis()
which properly returns int64 for use in the querier code
* Add parseDownsamplingMillis() tests
* query/querier_test: fix test
* *: clarify everywhere that max source resolution is in millis
* *: maxSourceResolutionMillis -> maxResolutionMillis
* CHANGELOG: update
* query/querier_test: fix
* store/bucket: add gets all data in range property test
* store/bucket_test: add production property test
* store/bucket_test: fix
* store/bucket_test: add always gets property
* query/querier_test: do not shrink
* store/bucket: revert change
This doesn't really matter as the tests show.
* store/bucket_test: remove more confusion
* store/bucket: clean up tests
Only leave the property tests in place since they catch all of the
errors.
* Simplified goFor implementation.
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
0 commit comments