This is an automated email from the ASF dual-hosted git repository.
liaoxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 303c8bb4c0d [chore](cloud) add selected partition ids and visible
version in log (#37267)
303c8bb4c0d is described below
commit 303c8bb4c0d626034e03dc6e0cb5f953d3da58bb
Author: hui lai <[email protected]>
AuthorDate: Thu Jul 4 23:36:15 2024 +0800
[chore](cloud) add selected partition ids and visible version in log
(#37267)
Add selected partition ids and visible version in log.
---
fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
index 0e403123364..64479cdc855 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
@@ -731,6 +731,11 @@ public class OlapScanNode extends ScanNode {
// Update the visible version of the scan range locations.
public void updateScanRangeVersions(Map<Long, Long> visibleVersionMap) {
+ if (LOG.isDebugEnabled() && ConnectContext.get() != null) {
+ LOG.debug("query id: {}, selectedPartitionIds: {},
visibleVersionMap: {}",
+ DebugUtil.printId(ConnectContext.get().queryId()),
selectedPartitionIds, visibleVersionMap);
+ }
+
Map<Long, TScanRangeLocations> locationsMap =
scanRangeLocations.stream()
.collect(Collectors.toMap(loc ->
loc.getScanRange().getPaloScanRange().getTabletId(), loc -> loc));
for (Long partitionId : selectedPartitionIds) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]