mirror of
https://github.com/happyfish100/fastdfs-client-java.git
synced 2026-09-21 21:39:06 +00:00
feature: fail over from index
This commit is contained in:
@@ -39,7 +39,7 @@ public class TrackerGroup {
|
||||
* @return connected tracker server, null for fail
|
||||
*/
|
||||
public TrackerServer getTrackerServer(int serverIndex) throws IOException {
|
||||
return new TrackerServer(this.tracker_servers[serverIndex]);
|
||||
return new TrackerServer(this.tracker_servers[serverIndex], serverIndex);
|
||||
}
|
||||
/**
|
||||
* return connected tracker server
|
||||
|
||||
Reference in New Issue
Block a user