Smyatkin-Maxim commented on code in PR #1848:
URL: https://github.com/apache/cloudberry/pull/1848#discussion_r3923118344
##########
gpMgmt/bin/gpexpand:
##########
@@ -846,6 +846,24 @@ class SegmentTemplate:
# and mirror information
update_pg_hba_on_segments(self.gparray, self.isHbaHostnames,
self.batch_size, expanded_host_content)
+ new_segments = self.gparray.getExpansionSegDbList()
+ chmod_commands_by_host = defaultdict(list)
+
+ for seg in new_segments:
+ if seg.isSegmentMirror():
Review Comment:
I'm curious why mirrors are handled differently here? (not saying they
shouldn't, just want to make sure)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]