Skip to content

Conversation

@morningman
Copy link
Contributor

@morningman morningman commented Aug 5, 2020

Proposed changes

In some very special circumstances, such as code bugs, or human misoperation, etc., all replicas of some tablets may be lost. In this case, the data has been substantially lost. However, in some scenarios, the business still hopes to ensure that the query will not report errors even if there is data loss, and reduce the perception of the user layer. At this point, we can use the blank Tablet to fill the missing replica to ensure that the query can be executed normally.

Add a new FE config recover_with_empty_tablet. default is false. true means to use empty tablet to fill the missing one.

Also fix a bug in Fix #4274

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Documentation Update (if none of the other choices apply)

Checklist

@morningman morningman added kind/improvement area/catalog Issues or PRs related to catalog management labels Aug 5, 2020
@morningman morningman self-assigned this Aug 5, 2020
EmmyMiao87
EmmyMiao87 previously approved these changes Aug 17, 2020
Copy link
Contributor

@EmmyMiao87 EmmyMiao87 left a comment

Choose a reason for hiding this comment

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

LGTM

@morningman morningman added the approved Indicates a PR has been approved by one committer. label Aug 17, 2020
Copy link
Contributor

@EmmyMiao87 EmmyMiao87 left a comment

Choose a reason for hiding this comment

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

LGTM

@morningman morningman merged commit 3359467 into apache:master Aug 18, 2020
acelyc111 pushed a commit to acelyc111/incubator-doris that referenced this pull request Aug 21, 2020
…r missing tablet (apache#4255)

In some very special circumstances, such as code bugs, or human misoperation, etc.,
all replicas of some tablets may be lost. In this case, the data has been substantially lost.
However, in some scenarios, the business still hopes to ensure that the query will not
report errors even if there is data loss, and reduce the perception of the user layer.
At this point, we can use the blank Tablet to fill the missing replica to ensure that the query can be executed normally.

Add a new FE config `recover_with_empty_tablet`. default is false. true means to use empty tablet to fill the missing one.

Also fix a bug in Fix apache#4274
@yangzhg yangzhg mentioned this pull request Feb 9, 2021
BiteTheDDDDt pushed a commit to BiteTheDDDDt/incubator-doris that referenced this pull request Sep 1, 2025
…the JSON reader was not initialized when the JSON path is specified as '$.’ apache#52211 apache#52267 (apache#4255)

Cherry-picked from apache#52267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/catalog Issues or PRs related to catalog management kind/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] FE crash when doing checkpoint

2 participants