GetReporter returns reporter given tableName and shardID. If the corresponding reporter cannot be found. It will return the root scope.
(tableName string, shardID int)
| 73 | // GetReporter returns reporter given tableName and shardID. If the corresponding |
| 74 | // reporter cannot be found. It will return the root scope. |
| 75 | func GetReporter(tableName string, shardID int) *Reporter { |
| 76 | return reporterFactory.GetReporter(tableName, shardID) |
| 77 | } |
| 78 | |
| 79 | // AddTableShardReporter adds a reporter for the given table and shards. It should |
| 80 | // be called when bootstrap the table shards or shard ownership changes. |
no test coverage detected