Skip to content

fixup bug: "SHOW DATA" or "SHOW PARTITIONS", the DATA-SIZE less than 0 - #1680

Merged
imay merged 1 commit into
apache:masterfrom
worker24h:fixbug
Aug 21, 2019
Merged

fixup bug: "SHOW DATA" or "SHOW PARTITIONS", the DATA-SIZE less than 0#1680
imay merged 1 commit into
apache:masterfrom
worker24h:fixbug

Conversation

@worker24h

Copy link
Copy Markdown
Contributor

No description provided.

@imayimay 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

// for create tablet and restore
public Replica(long replicaId, long backendId, ReplicaState state, long version, long versionHash, int schemaHash) {
this(replicaId, backendId, version, versionHash, schemaHash, -1, -1, state, -1L, 0L, version, versionHash);
this(replicaId, backendId, version, versionHash, schemaHash, 0L, -1, state, -1L, 0L, version, versionHash);

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.

Suggested change
this(replicaId, backendId, version, versionHash, schemaHash, 0L, -1, state, -1L, 0L, version, versionHash);
this(replicaId, backendId, version, versionHash, schemaHash, 0L, 0L, state, -1L, 0L, version, versionHash);

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

ok

@imay
imay merged commit 9f50f84 into apache:masterAug 21, 2019
@imayimay mentioned this pull request Sep 26, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@worker24h@imay