mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
switch it back to chris's repo
This commit is contained in:
parent
57ec736941
commit
d56c748fa8
|
@ -5,7 +5,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
|
||||
"net/url"
|
||||
)
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
var writeLock sync.Mutex //serialize changes to dir.log
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
)
|
||||
|
||||
type FilerEmbedded struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package filer
|
|||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/syndtr/goleveldb/leveldb"
|
||||
"github.com/syndtr/goleveldb/leveldb/util"
|
||||
)
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"net/url"
|
||||
"strconv"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type AssignResult struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type DeleteResult struct {
|
||||
|
|
|
@ -3,8 +3,8 @@ package operation
|
|||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type ClusterStatusResult struct {
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type Location struct {
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
type FilePart struct {
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
type UploadResult struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/tgulacsi/go-cdb"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
var testIndexFilename string = "../../test/sample.idx"
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
func TestMemoryUsage(t *testing.T) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"io/ioutil"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"hash/crc32"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
var table = crc32.MakeTable(crc32.Castagnoli)
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"errors"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type FileId struct {
|
||||
|
|
|
@ -11,9 +11,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/images"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/images"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type NeedleMapper interface {
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
"strings"
|
||||
|
||||
proto "code.google.com/p/goprotobuf/proto"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func (s *Store) CheckCompactVolume(volumeIdString string, garbageThresholdString string) (error, bool) {
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
type Volume struct {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package storage
|
||||
|
||||
import (
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
)
|
||||
|
||||
type VolumeInfo struct {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func (v *Volume) garbageLevel() float64 {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"errors"
|
||||
"net/url"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type AllocateVolumeResult struct {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package topology
|
||||
|
||||
import (
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/goraft/raft"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package topology
|
||||
|
||||
import (
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type Collection struct {
|
||||
|
|
|
@ -3,8 +3,8 @@ package topology
|
|||
import (
|
||||
"strconv"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
type DataNode struct {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"math/rand"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
type NodeId string
|
||||
|
|
|
@ -5,10 +5,10 @@ import (
|
|||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"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"
|
||||
"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"
|
||||
)
|
||||
|
||||
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/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/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/goraft/raft"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
func (t *Topology) StartRefreshWritableVolumes(garbageThreshold string) {
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/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/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/sequence"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/sequence"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
var topologyLayout = `
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"math/rand"
|
||||
"sync"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
// mapping from volume to its locations, inverted from server to volume
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"encoding/json"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"errors"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func TestFolderWritable(folder string) (err error) {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"net"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
)
|
||||
|
||||
// Listener wraps a net.Listener, and gives a place to store the timeout
|
||||
|
|
|
@ -14,9 +14,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
type BenchmarkOptions struct {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
"path"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -11,8 +11,8 @@ import (
|
|||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -6,9 +6,9 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/weed/weed_server"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"path"
|
||||
"strconv"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/weed/weed_server"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
|
|
@ -9,10 +9,10 @@ import (
|
|||
|
||||
"bazil.org/fuse"
|
||||
"bazil.org/fuse/fs"
|
||||
"github.com/mcqueenorama/weed-fs/go/filer"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/filer"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
func runMount(cmd *Command, args []string) bool {
|
||||
|
|
|
@ -10,9 +10,9 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/weed/weed_server"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"runtime"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
var cmdVersion = &Command{
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/mcqueenorama/weed-fs/go/weed/weed_server"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/weed/weed_server"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func TestXYZ(t *testing.T) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"unicode"
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
var IsDebug *bool
|
||||
|
|
|
@ -10,11 +10,11 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
var serverStats *stats.ServerStats
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/filer"
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/filer"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
type FilerServer struct {
|
||||
|
|
|
@ -11,9 +11,9 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/syndtr/goleveldb/leveldb"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package weed_server
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
|
@ -6,10 +6,10 @@ import (
|
|||
"net/url"
|
||||
"sync"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/sequence"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/sequence"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
"github.com/goraft/raft"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
|
|
@ -5,9 +5,9 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
func (ms *MasterServer) lookupVolumeId(vids []string, collection string) (volumeLocations map[string]operation.LookupResult) {
|
||||
|
|
|
@ -9,11 +9,11 @@ import (
|
|||
"strings"
|
||||
|
||||
proto "code.google.com/p/goprotobuf/proto"
|
||||
"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/topology"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"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/topology"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
func (ms *MasterServer) collectionDeleteHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
@ -14,8 +14,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
"github.com/goraft/raft"
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/goraft/raft"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
)
|
||||
|
||||
type VolumeServer struct {
|
||||
|
|
|
@ -9,12 +9,12 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/images"
|
||||
"github.com/mcqueenorama/weed-fs/go/operation"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/storage"
|
||||
"github.com/mcqueenorama/weed-fs/go/topology"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/images"
|
||||
"github.com/chrislusf/weed-fs/go/operation"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/storage"
|
||||
"github.com/chrislusf/weed-fs/go/topology"
|
||||
)
|
||||
|
||||
var fileNameEscaper = strings.NewReplacer("\\", "\\\\", "\"", "\\\"")
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"net/http"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/mcqueenorama/weed-fs/go/stats"
|
||||
"github.com/mcqueenorama/weed-fs/go/util"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/stats"
|
||||
"github.com/chrislusf/weed-fs/go/util"
|
||||
)
|
||||
|
||||
func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
|
@ -3,7 +3,7 @@ package weed_server
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/mcqueenorama/weed-fs/go/glog"
|
||||
"github.com/chrislusf/weed-fs/go/glog"
|
||||
)
|
||||
|
||||
func (vs *VolumeServer) vacuumVolumeCheckHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
Loading…
Reference in a new issue