The default replication number of an olap table may not be set. Every time we call `getReplicationNum()`, we have to check if it returns null, which is inconvenience and may cause problem So in this PR, I set a default value to table's replication number. This bug is introduced by #2958