switch to my forked repo
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
/*
|
||||
|
||||
@@ -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 = `
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user