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

Fix crash when read ColumnFileTiny in MemTableSet #4297

Merged
merged 13 commits into from
Mar 16, 2022

Conversation

lidezhu
Copy link
Contributor

@lidezhu lidezhu commented Mar 16, 2022

What problem does this PR solve?

Issue Number: close #4204

Problem Summary: when create snapshot for MemTableSet, we didn't pass valid StorageSnapshot. And if there exists ColumnFileTiny in MemTableSet, it will try to read from StorageSnapshot which cause a segmentation fault.
Introduced by #3943

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Mar 16, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • JaySon-Huang
  • flowbehappy

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added do-not-merge/needs-linked-issue release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. do-not-merge/needs-triage-completed and removed do-not-merge/needs-linked-issue do-not-merge/needs-triage-completed labels Mar 16, 2022
@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/run-all-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                                     Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Flash/Coprocessor/DAGUtils.cpp                                   290               233    19.66%          36                24    33.33%         505               404    20.00%         324               230    29.01%
Functions/FunctionsDateTime.cpp                                   27                19    29.63%           4                 2    50.00%          99                25    74.75%          16                13    18.75%
Functions/FunctionsDateTime.h                                   1073               638    40.54%         322               209    35.09%        2018              1226    39.25%         534               340    36.33%
Functions/tests/gtest_dayofweekyear.cpp                          258                74    71.32%           2                 0   100.00%         135                 0   100.00%          80                42    47.50%
Storages/DeltaMerge/ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Storages/DeltaMerge/Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Storages/DeltaMerge/Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Storages/DeltaMerge/Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Storages/DeltaMerge/Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Storages/DeltaMerge/Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Storages/DeltaMerge/Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
Storages/DeltaMerge/tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                           3904              1415    63.76%         492               242    50.81%        5070              2015    60.26%        1996              1062    46.79%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16929      9504             43.86%    190774  96496        49.42%

full coverage report (for internal network access only)

Copy link
Contributor

@flowbehappy flowbehappy left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 16, 2022
@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Mar 16, 2022
@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/merge

@ti-chi-bot
Copy link
Member

@lidezhu: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 92b2a27

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Mar 16, 2022
@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                                     Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Common/TiFlashMetrics.h                                           18                 0   100.00%          11                 0   100.00%          47                 1    97.87%           8                 0   100.00%
Flash/Coprocessor/DAGUtils.cpp                                   290               233    19.66%          36                24    33.33%         505               404    20.00%         324               230    29.01%
Flash/EstablishCall.h                                              2                 2     0.00%           2                 2     0.00%           2                 2     0.00%           0                 0         -
Flash/Mpp/MPPTunnel.cpp                                          185               185     0.00%          16                16     0.00%         241               241     0.00%          94                94     0.00%
Flash/Mpp/MPPTunnel.h                                              9                 9     0.00%           9                 9     0.00%          18                18     0.00%           0                 0         -
Functions/FunctionsDateTime.cpp                                   27                19    29.63%           4                 2    50.00%          99                25    74.75%          16                13    18.75%
Functions/FunctionsDateTime.h                                   1073               638    40.54%         322               209    35.09%        2018              1226    39.25%         534               340    36.33%
Functions/tests/gtest_dayofweekyear.cpp                          258                74    71.32%           2                 0   100.00%         135                 0   100.00%          80                42    47.50%
Storages/DeltaMerge/ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Storages/DeltaMerge/Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Storages/DeltaMerge/Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Storages/DeltaMerge/Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Storages/DeltaMerge/Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Storages/DeltaMerge/Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Storages/DeltaMerge/Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
Storages/DeltaMerge/tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                           4118              1611    60.88%         530               269    49.25%        5378              2277    57.66%        2098              1156    44.90%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16930      9505             43.86%    190786  96500        49.42%

full coverage report (for internal network access only)

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/run-integration-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                                     Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Common/TiFlashMetrics.h                                           18                 0   100.00%          11                 0   100.00%          47                 1    97.87%           8                 0   100.00%
Flash/Coprocessor/DAGUtils.cpp                                   290               233    19.66%          36                24    33.33%         505               404    20.00%         324               230    29.01%
Flash/EstablishCall.h                                              2                 2     0.00%           2                 2     0.00%           2                 2     0.00%           0                 0         -
Flash/Mpp/MPPTunnel.cpp                                          185               185     0.00%          16                16     0.00%         241               241     0.00%          94                94     0.00%
Flash/Mpp/MPPTunnel.h                                              9                 9     0.00%           9                 9     0.00%          18                18     0.00%           0                 0         -
Functions/FunctionsDateTime.cpp                                   27                19    29.63%           4                 2    50.00%          99                25    74.75%          16                13    18.75%
Functions/FunctionsDateTime.h                                   1073               638    40.54%         322               209    35.09%        2018              1226    39.25%         534               340    36.33%
Functions/tests/gtest_dayofweekyear.cpp                          258                74    71.32%           2                 0   100.00%         135                 0   100.00%          80                42    47.50%
Storages/DeltaMerge/ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Storages/DeltaMerge/Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Storages/DeltaMerge/Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Storages/DeltaMerge/Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Storages/DeltaMerge/Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Storages/DeltaMerge/Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Storages/DeltaMerge/Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
Storages/DeltaMerge/tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                           4118              1611    60.88%         530               269    49.25%        5378              2277    57.66%        2098              1156    44.90%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16930      9505             43.86%    190786  96489        49.43%

full coverage report (for internal network access only)

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/run-unit-tests

1 similar comment
@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/run-unit-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16936      9509             43.85%    190850  96519        49.43%

full coverage report (for internal network access only)

@JaySon-Huang
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

@JaySon-Huang: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/merge

@ti-chi-bot
Copy link
Member

@lidezhu: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/rebuild

1 similar comment
@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/rebuild

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/merge

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/rebuild

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/run-all-tests

@ti-chi-bot
Copy link
Member

@lidezhu: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16936      9509             43.85%    190852  96521        49.43%

full coverage report (for internal network access only)

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                68    72.02%          19                 0   100.00%         391                57    85.42%         196                59    69.90%
Delta/ColumnFilePersistedSet.h                18                 5    72.22%          10                 2    80.00%          30                 7    76.67%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               458    79.70%         128                 8    93.75%        2313               365    84.22%        1042               439    57.87%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16936      9510             43.85%    190852  96548        49.41%

full coverage report (for internal network access only)

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/merge

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/rebuild

@lidezhu
Copy link
Contributor Author

lidezhu commented Mar 16, 2022

/run-all-tests

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16936      9509             43.85%    190852  96552        49.41%

full coverage report (for internal network access only)

@ti-chi-bot
Copy link
Member

@lidezhu: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

You only need to trigger /merge once, and if the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

If you have any questions about the PR merge process, please refer to pr process.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16967      9540             43.77%    191116  96791        49.35%

full coverage report (for internal network access only)

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16967      9540             43.77%    191116  96795        49.35%

full coverage report (for internal network access only)

@sre-bot
Copy link
Collaborator

sre-bot commented Mar 16, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16967      9540             43.77%    191116  96780        49.36%

full coverage report (for internal network access only)

@ti-chi-bot ti-chi-bot merged commit 3be52b5 into pingcap:master Mar 16, 2022
@JaySon-Huang JaySon-Huang deleted the fix-crash-0311 branch March 17, 2022 00:29
JaySon-Huang pushed a commit to JaySon-Huang/tiflash that referenced this pull request Mar 17, 2022
@sre-bot
Copy link
Collaborator

sre-bot commented Mar 23, 2022

Coverage for changed files

Filename                                 Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ColumnFile/ColumnFileSetSnapshot.h            14                 1    92.86%          14                 1    92.86%          24                11    54.17%           0                 0         -
Delta/ColumnFilePersistedSet.cpp             243                62    74.49%          19                 0   100.00%         391                53    86.45%         196                57    70.92%
Delta/ColumnFilePersistedSet.h                18                 4    77.78%          10                 1    90.00%          30                 6    80.00%           6                 2    66.67%
Delta/MemTableSet.cpp                        119                24    79.83%           9                 0   100.00%         194                14    92.78%          96                25    73.96%
Delta/MemTableSet.h                            7                 0   100.00%           6                 0   100.00%          19                 0   100.00%           2                 0   100.00%
Delta/Snapshot.cpp                            70                 4    94.29%           7                 0   100.00%          84                 5    94.05%          52                 9    82.69%
Segment.cpp                                  637               189    70.33%          45                 4    91.11%        1121               266    76.27%         336               178    47.02%
tests/gtest_dm_delta_value_space.cpp        1148               167    85.45%          18                 1    94.44%         450                 5    98.89%         354               166    53.11%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                       2256               451    80.01%         128                 7    94.53%        2313               360    84.44%        1042               437    58.06%

Coverage summary

Functions  MissedFunctions  Executed  Lines   MissedLines  Cover
16967      9540             43.77%    191116  96785        49.36%

full coverage report (for internal network access only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TiFlash crash for Address not mapped to object
5 participants