Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin/storage/badger/spanstore: use (TB).TempDir not hardcoded non-portable /mnt/* #3325

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

pavolloffay
Copy link
Member

Previously the Benchmark code ALWAYS assumed that "/mnt/ssd/" would
exist, yet when there is no permission or on read only systems,
using it would fail. This change instead uses the benchmarks'
temporary directory as the base for operations.

Fixes #3301

Signed-off-by: Emmanuel T Odeke emmanuel@orijtech.com

Closes #3320
Rebased #3320 - the original PR wasn't passing DCO

Which problem is this PR solving?

Short description of the changes

…ortable /mnt/*

Previously the Benchmark code ALWAYS assumed that "/mnt/ssd/" would
exist, yet when there is no permission or on read only systems,
using it would fail. This change instead uses the benchmarks'
temporary directory as the base for operations.

Fixes jaegertracing#3301

Signed-off-by: Emmanuel T Odeke <emmanuel@orijtech.com>
@pavolloffay pavolloffay requested a review from a team as a code owner October 14, 2021 13:58
@codecov
Copy link

codecov bot commented Oct 14, 2021

Codecov Report

Merging #3325 (26bc987) into master (b8e8fc2) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3325      +/-   ##
==========================================
+ Coverage   95.96%   95.99%   +0.03%     
==========================================
  Files         259      259              
  Lines       15434    15434              
==========================================
+ Hits        14811    14816       +5     
+ Misses        527      525       -2     
+ Partials       96       93       -3     
Impacted Files Coverage Δ
pkg/config/tlscfg/cert_watcher.go 92.63% <0.00%> (-2.11%) ⬇️
plugin/storage/integration/integration.go 78.88% <0.00%> (-0.40%) ⬇️
cmd/query/app/server.go 95.58% <0.00%> (+1.47%) ⬆️
cmd/query/app/static_handler.go 97.00% <0.00%> (+2.99%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8e8fc2...26bc987. Read the comment docs.

@yurishkuro yurishkuro merged commit 51ce980 into jaegertracing:master Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plugin/storage/badger/spanstore: BenchmarkServiceIndexLimitFetch crashes
4 participants