Skip to content

Commit

Permalink
fix: correct reverse-scan results affected by retry logic
Browse files Browse the repository at this point in the history
  • Loading branch information
maochongxin committed Nov 27, 2024
1 parent 61ea5d2 commit 4f5f373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public boolean next() throws Exception {
}

protected Map<Long, ObPair<Long, ObTableParam>> buildPartitions(ObTableClient client, ObTableQuery tableQuery, String tableName) throws Exception {
Map<Long, ObPair<Long, ObTableParam>> partitionObTables = new HashMap<>();
Map<Long, ObPair<Long, ObTableParam>> partitionObTables = new LinkedHashMap<>();
String indexName = tableQuery.getIndexName();
String indexTableName = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ ObTableClientQueryAsyncStreamResult execute() throws Exception {
}

public Map<Long, ObPair<Long, ObTableParam>> initPartitions(ObTableQuery tableQuery, String tableName) throws Exception {
Map<Long, ObPair<Long, ObTableParam>> partitionObTables = new HashMap<>();
Map<Long, ObPair<Long, ObTableParam>> partitionObTables = new LinkedHashMap<>();
String indexName = tableQuery.getIndexName();
String indexTableName = null;

Expand Down

0 comments on commit 4f5f373

Please sign in to comment.