• H
    Make pserver able to get server index without etcd (decouple pserver with etcd) · 4cc9680c
    Helin Wang 提交于
    The pserver need to have server index for saving model on the
    distributed file system. The server index comes from etcd if etcd is
    used, or user can manually specify them. So we need
    pserver.NewService() to take index as an argument. Since index could
    come from etcd, it would be strange if pserver takes an index as
    argument, at the same time get the index from etcd. so we will need to
    decouple pserver with etcd.
    4cc9680c
pserver.go 1.3 KB