switch to my forked repo

This commit is contained in:
Brian McQueen
2014-12-14 00:20:21 -08:00
parent a3583e4e7c
commit c0dfdf4392
69 changed files with 141 additions and 140 deletions

View File

@@ -5,8 +5,8 @@ import (
"errors"
"net/url"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/util"
)
type AllocateVolumeResult struct {

View File

@@ -1,8 +1,8 @@
package topology
import (
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/goraft/raft"
)

View File

@@ -1,8 +1,8 @@
package topology
import (
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/util"
)
type Collection struct {

View File

@@ -3,8 +3,8 @@ package topology
import (
"strconv"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
)
type DataNode struct {

View File

@@ -5,8 +5,8 @@ import (
"math/rand"
"strings"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
)
type NodeId string

View File

@@ -5,10 +5,10 @@ import (
"net/http"
"strconv"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/operation"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/util"
)
func ReplicatedWrite(masterNode string, s *storage.Store, volumeId storage.VolumeId, needle *storage.Needle, r *http.Request) (size uint32, errorStatus string) {

View File

@@ -5,11 +5,11 @@ import (
"io/ioutil"
"math/rand"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/sequence"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/operation"
"github.com/mcqueenorama/weed-fs/go/sequence"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/goraft/raft"
)

View File

@@ -4,8 +4,8 @@ import (
"math/rand"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
)
func (t *Topology) StartRefreshWritableVolumes(garbageThreshold string) {

View File

@@ -6,9 +6,9 @@ import (
"net/url"
"time"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/util"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/util"
)
func batchVacuumVolumeCheck(vl *VolumeLayout, vid storage.VolumeId, locationlist *VolumeLocationList, garbageThreshold string) bool {

View File

@@ -5,8 +5,8 @@ import (
"math/rand"
"sync"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
)
/*

View File

@@ -5,8 +5,8 @@ import (
"fmt"
"testing"
"github.com/chrislusf/weed-fs/go/sequence"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/sequence"
"github.com/mcqueenorama/weed-fs/go/storage"
)
var topologyLayout = `

View File

@@ -5,8 +5,8 @@ import (
"math/rand"
"sync"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/mcqueenorama/weed-fs/go/storage"
)
// mapping from volume to its locations, inverted from server to volume