influxdb/tsdb/index
WeblWabl 5c9e45f033
fix(tsi1/partition/test): fix data races in test code (#57) (#25338)
* fix(tsi1/partition/test): fix data races in test code (#57)

* fix(tsi1/partition/test): fix data races in test code

This PR is like influxdata/influxdb#24613 but solves it with a setter
method for MaxLogFileSize which allows unexporting that value and
MaxLogFileAge. There are actually two places locks were needed in test
code. The behavior of production code is unchanged.

(cherry picked from commit f0235c4daf4b97769db932f7346c1d3aecf57f8f)

* feat: modify error handling to be more idiomatic

closes https://github.com/influxdata/influxdb/issues/24042

* fix: errors.Join() filters nil errors

---------

Co-authored-by: Phil Bracikowski <13472206+philjb@users.noreply.github.com>
2024-09-16 20:26:14 -05:00
..
inmem build: upgrade to go1.18 (#23250) 2022-03-31 16:17:57 -05:00
internal Refactor File mock 2017-12-05 16:17:15 +00:00
tsi1 fix(tsi1/partition/test): fix data races in test code (#57) (#25338) 2024-09-16 20:26:14 -05:00
index.go reintegrating in-memory index 2017-01-05 10:07:35 -07:00