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

[es] Remove unused indexCache #5408

Merged
merged 1 commit into from
May 2, 2024

Conversation

yurishkuro
Copy link
Member

Which problem is this PR solving?

  • The cache was initialized with incorrect parameter, and when I looked around it wasn't even used anywhere

Description of the changes

  • delete indexCache and indexCacheTTL argument

How was this change tested?

$ go test ./plugin/storage/es/spanstore
ok      github.com/jaegertracing/jaeger/plugin/storage/es/spanstore     0.471s

Signed-off-by: Yuri Shkuro <github@ysh.us>
Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.19%. Comparing base (55e991a) to head (ab6941c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5408      +/-   ##
==========================================
- Coverage   95.19%   95.19%   -0.01%     
==========================================
  Files         346      346              
  Lines       16908    16899       -9     
==========================================
- Hits        16096    16087       -9     
  Misses        611      611              
  Partials      201      201              
Flag Coverage Δ
badger_v1 10.48% <0.00%> (+0.01%) ⬆️
badger_v2 6.45% <0.00%> (+0.03%) ⬆️
cassandra-3.x 18.39% <0.00%> (+0.01%) ⬆️
cassandra-4.x 18.39% <0.00%> (+0.01%) ⬆️
elasticsearch-5.x 20.81% <100.00%> (-0.09%) ⬇️
elasticsearch-6.x 20.82% <100.00%> (-0.06%) ⬇️
elasticsearch-7.x 20.85% <100.00%> (-0.14%) ⬇️
elasticsearch-8.x 21.10% <100.00%> (-0.03%) ⬇️
grpc_v1 12.63% <0.00%> (+0.01%) ⬆️
grpc_v2 11.55% <0.00%> (+0.02%) ⬆️
kafka 10.19% <0.00%> (+0.01%) ⬆️
opensearch-1.x 20.92% <100.00%> (-0.10%) ⬇️
opensearch-2.x 20.93% <100.00%> (-0.08%) ⬇️
unittests 91.52% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro yurishkuro marked this pull request as ready for review May 2, 2024 20:09
@yurishkuro yurishkuro requested a review from a team as a code owner May 2, 2024 20:09
@yurishkuro yurishkuro merged commit 015c7fb into jaegertracing:main May 2, 2024
39 of 40 checks passed
@yurishkuro yurishkuro deleted the remove-unused-indexCache branch May 2, 2024 21:37
Pushkarm029 pushed a commit to Pushkarm029/jaeger that referenced this pull request May 4, 2024
## Which problem is this PR solving?
- The cache was initialized with incorrect parameter, and when I looked
around it wasn't even used anywhere

## Description of the changes
- delete indexCache and indexCacheTTL argument

## How was this change tested?
```
$ go test ./plugin/storage/es/spanstore
ok      github.com/jaegertracing/jaeger/plugin/storage/es/spanstore     0.471s
```

Signed-off-by: Yuri Shkuro <github@ysh.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants