Skip to content

[Feature][Meta]Update/Read/Write VisibleVersionTime for Partition#4076 - #4086

Merged
morningman merged 2 commits into
apache:masterfrom
marising:partition_visibleversiontime
Jul 26, 2020
Merged

[Feature][Meta]Update/Read/Write VisibleVersionTime for Partition#4076#4086
morningman merged 2 commits into
apache:masterfrom
marising:partition_visibleversiontime

Conversation

@marising

Copy link
Copy Markdown

#4076

  1. The visibleVersionTime is updated when insert data to partition
  2. GlobalTransactionMgr call partition.updateVisibleVersionAndVersionHash(version, versionHash) when fe is restarted
  3. If fe restart, VisibleVersionTime may be changed, but the changed value is newer than the old value

Comment threadfe/src/main/java/org/apache/doris/catalog/Partition.java Outdated
Comment threadfe/src/main/java/org/apache/doris/catalog/Partition.java Outdated
Comment threadfe/src/main/java/org/apache/doris/catalog/Partition.java Outdated
@morningmanmorningman self-assigned this Jul 15, 2020
@morningmanmorningman added area/catalog Issues or PRs related to catalog management kind/meta-version-change Categorizes issue or PR as related to changing meta version labels Jul 15, 2020
morningman
morningman previously approved these changes Jul 22, 2020

@morningmanmorningman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@morningman

Copy link
Copy Markdown
Contributor

Hi @marising the FE code structure has been changed, please rebase the code the solve the conflicts.

@morningmanmorningman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@morningmanmorningman added the approved Indicates a PR has been approved by one committer. label Jul 25, 2020
@morningman
morningman merged commit ed8cb6a into apache:masterJul 26, 2020
morningman pushed a commit that referenced this pull request Jul 30, 2020
…read and add doc content for drop meta check (#4205)
This PR is mainly do three things:
1. Fix fe meta version bug introduced by #4029 , when fix conflict with #4086 2. Make drop check code easy to read
3. Add doc content for drop meta check
Hastyshell pushed a commit to Hastyshell/doris that referenced this pull request Jul 21, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.area/catalogIssues or PRs related to catalog managementkind/meta-version-changeCategorizes issue or PR as related to changing meta version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@marising@morningman