Skip to content

Comments

allow segment details page to load without indices#10398

Merged
Jackie-Jiang merged 1 commit intoapache:masterfrom
jadami10:jadami/broken-segments-ui
Mar 12, 2023
Merged

allow segment details page to load without indices#10398
Jackie-Jiang merged 1 commit intoapache:masterfrom
jadami10:jadami/broken-segments-ui

Conversation

@jadami10
Copy link
Contributor

@jadami10 jadami10 commented Mar 8, 2023

This is a ui bugfix.

calling keys on segmentMetaData.indexes when that field was unavailable causes the whole page to fail. now we effectively skip the indices if they aren't available without a null error calling Object.keys

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2023

Codecov Report

Merging #10398 (05657c8) into master (52761fc) will decrease coverage by 1.92%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #10398      +/-   ##
============================================
- Coverage     70.23%   68.31%   -1.92%     
+ Complexity     6025     5265     -760     
============================================
  Files          2049     2049              
  Lines        110869   110869              
  Branches      16851    16851              
============================================
- Hits          77873    75745    -2128     
- Misses        27540    29728    +2188     
+ Partials       5456     5396      -60     
Flag Coverage Δ
integration1 24.31% <ø> (-0.23%) ⬇️
integration2 ?
unittests1 67.91% <ø> (+0.04%) ⬆️
unittests2 13.85% <ø> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...g/apache/pinot/server/api/resources/ErrorInfo.java 0.00% <0.00%> (-100.00%) ⬇️
...pinot/core/data/manager/realtime/TimerService.java 0.00% <0.00%> (-100.00%) ⬇️
...t/core/plan/StreamingInstanceResponsePlanNode.java 0.00% <0.00%> (-100.00%) ⬇️
...ore/operator/streaming/StreamingResponseUtils.java 0.00% <0.00%> (-100.00%) ⬇️
...unting/PerQueryCPUMemAccountantFactoryForTest.java 0.00% <0.00%> (-100.00%) ⬇️
...accounting/CPUMemThreadLevelAccountingObjects.java 0.00% <0.00%> (-93.11%) ⬇️
...he/pinot/common/utils/grpc/GrpcRequestBuilder.java 0.00% <0.00%> (-90.91%) ⬇️
...ator/streaming/StreamingSelectionOnlyOperator.java 0.00% <0.00%> (-90.00%) ⬇️
...he/pinot/core/plan/StreamingSelectionPlanNode.java 0.00% <0.00%> (-88.89%) ⬇️
...lugin/stream/kafka20/KafkaStreamLevelConsumer.java 0.00% <0.00%> (-88.34%) ⬇️
... and 174 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jayeshchoudhary jayeshchoudhary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Jackie-Jiang Jackie-Jiang added ui UI related issue bugfix labels Mar 12, 2023
@Jackie-Jiang Jackie-Jiang merged commit d475712 into apache:master Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix ui UI related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants