Skip to content

Commit

Permalink
chore: add more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiHanZ committed Sep 5, 2024
1 parent ecf088f commit 730fb01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,8 @@ DatabendClient startQueryWithFailover(String sql, StageAttachment attach) throws
throw new SQLException("Error start query: " + "SQL: " + sql + " " + e.getMessage() + " cause: " + e.getCause(), e);
}
try {
// route hint is used when transaction occured,
// route hint is used when transaction occured or when multi-cluster warehouse adopted(CLOUD ONLY)
// on cloud case, we have gateway to handle with route hint, and will not parse URI from route hint.
// transaction procedure:
// 1. server return session body where txn state is active
// 2. when there is a active transaction, it will route all query to target route hint uri if exists
Expand Down

0 comments on commit 730fb01

Please sign in to comment.