Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
HAWQ-1756. add comment for struct TargetSegmentIDMap.
Browse files Browse the repository at this point in the history
  • Loading branch information
Librago committed Nov 19, 2019
1 parent f2e0482 commit 202bc0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/cdb/cdbdatalocality.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ typedef struct Assignment_Log_Context {
* structure for target segment ID mapping.
*/
typedef struct TargetSegmentIDMap {
int target_segment_num;
int *global_IDs;
char** hostname;
int target_segment_num; // number of virtual segments
int *global_IDs; // virtual segment number -> global hostIndex
char** hostname; // hostname of each virtual segment
} TargetSegmentIDMap;

/*
Expand Down

0 comments on commit 202bc0b

Please sign in to comment.