You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/11/24 03:36:43 UTC

[GitHub] [pinot] snleee commented on a diff in pull request #9849: Combine the read access for replication config

snleee commented on code in PR #9849:
URL: https://github.com/apache/pinot/pull/9849#discussion_r1031027630


##########
pinot-spi/src/main/java/org/apache/pinot/spi/config/table/TableConfig.java:
##########
@@ -354,4 +356,31 @@ public Map<String, SegmentAssignmentConfig> getSegmentAssignmentConfigMap() {
   public void setSegmentAssignmentConfigMap(Map<String, SegmentAssignmentConfig> segmentAssignmentConfigMap) {
     _segmentAssignmentConfigMap = segmentAssignmentConfigMap;
   }
+
+  @JsonIgnore
+  public int getReplicationNumber() {
+    Preconditions.checkNotNull(_validationConfig, "Validation config should not be null.");

Review Comment:
   deleted



-- 
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: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org