influxdb/query
Phil Bracikowski 713efbc164
fix(tsi1/partition/test): fix data race in test code (#24613)
* fix(tsi1/partition/test): fix data race in test code

TestPartition_Compact_Write_Fail test was not locking the partition
before changing the value of MaxLogFileSize. This PR exports the mutex
of the partition to allow the test to access it and lock. Alternatives
require more changes such as a Setter method if we need to hide the
mutex.

* fixes #24042, for #24040

* chore: complete renaming of mutex in file and fix flux test

The flux test is another failing test because it was using a relative
time range.
2024-01-30 20:01:20 -08:00
..
benchmarks/flux fix(tsdb): never use an inmem index (#20313) 2020-12-23 07:46:57 -08:00
control fix: corrrectly return 4XX errors instead of 5XX errors (#24519) 2023-12-27 08:21:09 -08:00
fluxlang build(flux): update flux to v0.180.1 (#23666) 2022-08-24 11:59:16 -07:00
mock feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
stdlib fix(tsi1/partition/test): fix data race in test code (#24613) 2024-01-30 20:01:20 -08:00
bridges.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
bridges_test.go feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
dependency.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
dependency_test.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
encode.go chore: update to go 1.20 (#24088) 2023-02-09 14:14:35 -05:00
encode_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
logger.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
logging.go feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
logging_test.go build: upgrade to Go 1.18.1 (#23252) 2022-04-13 15:24:27 -05:00
query.go fix: correct various typos (#19987) 2020-11-11 13:54:21 -05:00
request.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
service.go refactor: refactor for tasks backport (#21117) 2021-04-07 14:42:55 -04:00
service_test.go feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
storage.go refactor(flux): convert the allocator into an interface (#23214) 2022-03-22 12:33:52 -05:00