Vihang Karajgaonkar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/17313 )

Change subject: IMPALA-10656: Fire insert events before commit
......................................................................


Patch Set 12: Code-Review+1

(1 comment)

http://gerrit.cloudera.org:8080/#/c/17313/12/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/17313/12/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java@4876
PS12, Line 4876: These ACID_WRITE events are collected by HMS and become
               :    * visible during commit
I see that you added this. But I am not sure if this is correct. HMS metadata 
is not transactional and hence it has no awareness of when the events needs to 
be made visible. The events will be visible as soon as the HMS API succeeds 
AFAIK. It is upto the clients to determine if the ACID_WRITE event need to be 
processed or not based on the fact that the writeId in the event is committed 
or not. This commit or abort also generated a COMMIT_TXN or ABORT_TXN. But now 
may be we are going into implementation details.



--
To view, visit http://gerrit.cloudera.org:8080/17313
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2ed812dbcb5f55efff3a910a3daeeb76cd3295b9
Gerrit-Change-Number: 17313
Gerrit-PatchSet: 12
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Fri, 23 Apr 2021 22:30:34 +0000
Gerrit-HasComments: Yes

Reply via email to