EmmyMiao87 commented on a change in pull request #3029: [Bug] Fix bug of NPE when get replication number from olap table URL: https://github.com/apache/incubator-doris/pull/3029#discussion_r388058874
########## File path: fe/src/main/java/org/apache/doris/catalog/OlapTable.java ########## @@ -1247,11 +1248,11 @@ public void setReplicationNum(Short replicationNum) { tableProperty.buildReplicationNum(); } - public Short getReplicationNum() { + public Short getDefaultReplicationNum() { Review comment: Is `getReplicationNum ` better? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org