impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitris Tsirogiannis (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5538: Use explicit catalog versions for deleted objects
Date Mon, 25 Sep 2017 17:55:41 GMT
Dimitris Tsirogiannis has posted comments on this change. (

Change subject: IMPALA-5538: Use explicit catalog versions for deleted objects

Patch Set 5:

File be/src/catalog/catalog-server.h:
PS6, Line 131: Also determines any
             :   /// deletions of catalog objects by looking at the
             :   /// difference of the last set of topic entry keys that were sent and the
current set
             :   /// of topic entry keys
> Remove?
File be/src/catalog/
PS6, Line 308: bool topi
> should that be DCHECK_GT?  The old conditional to continue on was <= ...
Correct. Done
File be/src/catalog/catalog.h:
PS6, Line 59: Gets all Catalog objects and the metadata that is applicable for the given request.
            :   /// Always returns all object names that exist in the Catalog, but allows
for extended
            :   /// metadata for objects that were modified after the specified version.
> is that accurate?  from our discussion, my understanding was that only obje
Yeah, wording is not clear. Changed the comment.
File be/src/statestore/
PS5, Line 177:     entry_it->second.SetDeleted(true);
             :     entry_it->second.SetVersion(last_version_);
> What I mean is that topics that are transient do not get values in deleted 
Hm, it's still not clear to me why a transient topic cannot get values in deleted topics,
in the sense that I see the topic being transient and how to process deletions two orthogonal
issues and I don't understand why one should influence the other.
File be/src/statestore/
PS6, Line 170: topic_update_log_.erase(version);
> also, does that still make sense (now that we no longer do the SetValue(NUL
File common/thrift/CatalogInternalService.thrift:
PS6, Line 32: 
> does it include objects with changes in version > or >= the from_version?
Updated the comment (>). Done
File fe/src/main/java/org/apache/impala/catalog/
PS6, Line 310:  Views, Databases, and
             :    * Functions)
> datasources, cachepools, sentry stuff ... I think the list is too big, may 

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I93cb7a033dc8f0d3e0339394b36affe14523274c
Gerrit-Change-Number: 7731
Gerrit-PatchSet: 5
Gerrit-Owner: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Vuk Ercegovac <>
Gerrit-Comment-Date: Mon, 25 Sep 2017 17:55:41 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message