Browse Source

switch it back to chris's repo

pull/33/head
Brian McQueen 10 years ago
parent
commit
d56c748fa8
  1. 2
      go/filer/client_operations.go
  2. 2
      go/filer/directory_in_map.go
  3. 2
      go/filer/filer_embedded.go
  4. 2
      go/filer/files_in_leveldb.go
  5. 4
      go/operation/assign_file_id.go
  6. 2
      go/operation/delete_content.go
  7. 4
      go/operation/list_masters.go
  8. 2
      go/operation/lookup.go
  9. 2
      go/operation/submit.go
  10. 2
      go/operation/upload_content.go
  11. 2
      go/storage/cdb_map.go
  12. 2
      go/storage/cdb_map_test.go
  13. 4
      go/storage/compact_map_perf_test.go
  14. 2
      go/storage/compress.go
  15. 2
      go/storage/crc.go
  16. 4
      go/storage/file_id.go
  17. 6
      go/storage/needle.go
  18. 4
      go/storage/needle_map.go
  19. 4
      go/storage/needle_read_write.go
  20. 6
      go/storage/store.go
  21. 2
      go/storage/store_vacuum.go
  22. 2
      go/storage/volume.go
  23. 2
      go/storage/volume_info.go
  24. 2
      go/storage/volume_super_block.go
  25. 2
      go/storage/volume_vacuum.go
  26. 2
      go/tools/read_index.go
  27. 4
      go/topology/allocate_volume.go
  28. 4
      go/topology/cluster_commands.go
  29. 4
      go/topology/collection.go
  30. 4
      go/topology/data_node.go
  31. 4
      go/topology/node.go
  32. 8
      go/topology/store_replicate.go
  33. 10
      go/topology/topology.go
  34. 4
      go/topology/topology_event_handling.go
  35. 6
      go/topology/topology_vacuum.go
  36. 4
      go/topology/volume_growth.go
  37. 4
      go/topology/volume_growth_test.go
  38. 4
      go/topology/volume_layout.go
  39. 2
      go/util/config.go
  40. 2
      go/util/file_util.go
  41. 2
      go/util/net_timeout.go
  42. 6
      go/weed/benchmark.go
  43. 4
      go/weed/compact.go
  44. 4
      go/weed/download.go
  45. 4
      go/weed/export.go
  46. 6
      go/weed/filer.go
  47. 4
      go/weed/fix.go
  48. 6
      go/weed/master.go
  49. 8
      go/weed/mount_std.go
  50. 6
      go/weed/server.go
  51. 2
      go/weed/shell.go
  52. 2
      go/weed/upload.go
  53. 2
      go/weed/version.go
  54. 6
      go/weed/volume.go
  55. 2
      go/weed/volume_test.go
  56. 2
      go/weed/weed.go
  57. 10
      go/weed/weed_server/common.go
  58. 4
      go/weed/weed_server/filer_server.go
  59. 6
      go/weed/weed_server/filer_server_handlers.go
  60. 2
      go/weed/weed_server/filer_server_handlers_admin.go
  61. 8
      go/weed/weed_server/master_server.go
  62. 6
      go/weed/weed_server/master_server_handlers.go
  63. 10
      go/weed/weed_server/master_server_handlers_admin.go
  64. 4
      go/weed/weed_server/raft_server.go
  65. 4
      go/weed/weed_server/raft_server_handlers.go
  66. 4
      go/weed/weed_server/volume_server.go
  67. 12
      go/weed/weed_server/volume_server_handlers.go
  68. 6
      go/weed/weed_server/volume_server_handlers_admin.go
  69. 2
      go/weed/weed_server/volume_server_handlers_vacuum.go

2
go/filer/client_operations.go

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"net/url" "net/url"
) )

2
go/filer/directory_in_map.go

@ -10,7 +10,7 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
) )
var writeLock sync.Mutex //serialize changes to dir.log var writeLock sync.Mutex //serialize changes to dir.log

2
go/filer/filer_embedded.go

@ -6,7 +6,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/mcqueenorama/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/operation"
) )
type FilerEmbedded struct { type FilerEmbedded struct {

2
go/filer/files_in_leveldb.go

@ -3,7 +3,7 @@ package filer
import ( import (
"bytes" "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"
"github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )

4
go/operation/assign_file_id.go

@ -6,8 +6,8 @@ import (
"net/url" "net/url"
"strconv" "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 { type AssignResult struct {

2
go/operation/delete_content.go

@ -7,7 +7,7 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
) )
type DeleteResult struct { type DeleteResult struct {

4
go/operation/list_masters.go

@ -3,8 +3,8 @@ package operation
import ( import (
"encoding/json" "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 { type ClusterStatusResult struct {

2
go/operation/lookup.go

@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
) )
type Location struct { type Location struct {

2
go/operation/submit.go

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
type FilePart struct { type FilePart struct {

2
go/operation/upload_content.go

@ -14,7 +14,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
type UploadResult struct { type UploadResult struct {

2
go/storage/cdb_map.go

@ -7,7 +7,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"github.com/tgulacsi/go-cdb" "github.com/tgulacsi/go-cdb"
) )

2
go/storage/cdb_map_test.go

@ -6,7 +6,7 @@ import (
"runtime" "runtime"
"testing" "testing"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
var testIndexFilename string = "../../test/sample.idx" var testIndexFilename string = "../../test/sample.idx"

4
go/storage/compact_map_perf_test.go

@ -5,8 +5,8 @@ import (
"os" "os"
"testing" "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) { func TestMemoryUsage(t *testing.T) {

2
go/storage/compress.go

@ -7,7 +7,7 @@ import (
"io/ioutil" "io/ioutil"
"strings" "strings"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
/* /*

2
go/storage/crc.go

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"hash/crc32" "hash/crc32"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
) )
var table = crc32.MakeTable(crc32.Castagnoli) var table = crc32.MakeTable(crc32.Castagnoli)

4
go/storage/file_id.go

@ -5,8 +5,8 @@ import (
"errors" "errors"
"strings" "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 { type FileId struct {

6
go/storage/needle.go

@ -11,9 +11,9 @@ import (
"strings" "strings"
"time" "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 ( const (

4
go/storage/needle_map.go

@ -5,8 +5,8 @@ import (
"io" "io"
"os" "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 { type NeedleMapper interface {

4
go/storage/needle_read_write.go

@ -6,8 +6,8 @@ import (
"io" "io"
"os" "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 ( const (

6
go/storage/store.go

@ -10,9 +10,9 @@ import (
"strings" "strings"
proto "code.google.com/p/goprotobuf/proto" 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 ( const (

2
go/storage/store_vacuum.go

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "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) { func (s *Store) CheckCompactVolume(volumeIdString string, garbageThresholdString string) (error, bool) {

2
go/storage/volume.go

@ -10,7 +10,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
type Volume struct { type Volume struct {

2
go/storage/volume_info.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"github.com/mcqueenorama/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/operation"
) )
type VolumeInfo struct { type VolumeInfo struct {

2
go/storage/volume_super_block.go

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
const ( const (

2
go/storage/volume_vacuum.go

@ -5,7 +5,7 @@ import (
"os" "os"
"time" "time"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
func (v *Volume) garbageLevel() float64 { func (v *Volume) garbageLevel() float64 {

2
go/tools/read_index.go

@ -6,7 +6,7 @@ import (
"log" "log"
"os" "os"
"github.com/mcqueenorama/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/storage"
) )
var ( var (

4
go/topology/allocate_volume.go

@ -5,8 +5,8 @@ import (
"errors" "errors"
"net/url" "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 { type AllocateVolumeResult struct {

4
go/topology/cluster_commands.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "github.com/goraft/raft"
) )

4
go/topology/collection.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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 { type Collection struct {

4
go/topology/data_node.go

@ -3,8 +3,8 @@ package topology
import ( import (
"strconv" "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 { type DataNode struct {

4
go/topology/node.go

@ -5,8 +5,8 @@ import (
"math/rand" "math/rand"
"strings" "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 type NodeId string

8
go/topology/store_replicate.go

@ -5,10 +5,10 @@ import (
"net/http" "net/http"
"strconv" "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) { func ReplicatedWrite(masterNode string, s *storage.Store, volumeId storage.VolumeId, needle *storage.Needle, r *http.Request) (size uint32, errorStatus string) {

10
go/topology/topology.go

@ -5,11 +5,11 @@ import (
"io/ioutil" "io/ioutil"
"math/rand" "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" "github.com/goraft/raft"
) )

4
go/topology/topology_event_handling.go

@ -4,8 +4,8 @@ import (
"math/rand" "math/rand"
"time" "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) { func (t *Topology) StartRefreshWritableVolumes(garbageThreshold string) {

6
go/topology/topology_vacuum.go

@ -6,9 +6,9 @@ import (
"net/url" "net/url"
"time" "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 { func batchVacuumVolumeCheck(vl *VolumeLayout, vid storage.VolumeId, locationlist *VolumeLocationList, garbageThreshold string) bool {

4
go/topology/volume_growth.go

@ -5,8 +5,8 @@ import (
"math/rand" "math/rand"
"sync" "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"
) )
/* /*

4
go/topology/volume_growth_test.go

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"testing" "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 = ` var topologyLayout = `

4
go/topology/volume_layout.go

@ -5,8 +5,8 @@ import (
"math/rand" "math/rand"
"sync" "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 // mapping from volume to its locations, inverted from server to volume

2
go/util/config.go

@ -13,7 +13,7 @@ import (
"encoding/json" "encoding/json"
"os" "os"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
type Config struct { type Config struct {

2
go/util/file_util.go

@ -5,7 +5,7 @@ import (
"errors" "errors"
"os" "os"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
func TestFolderWritable(folder string) (err error) { func TestFolderWritable(folder string) (err error) {

2
go/util/net_timeout.go

@ -4,7 +4,7 @@ import (
"net" "net"
"time" "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 // Listener wraps a net.Listener, and gives a place to store the timeout

6
go/weed/benchmark.go

@ -14,9 +14,9 @@ import (
"sync" "sync"
"time" "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 { type BenchmarkOptions struct {

4
go/weed/compact.go

@ -1,8 +1,8 @@
package main package main
import ( 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() { func init() {

4
go/weed/download.go

@ -8,8 +8,8 @@ import (
"path" "path"
"strings" "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 ( var (

4
go/weed/export.go

@ -11,8 +11,8 @@ import (
"text/template" "text/template"
"time" "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() { func init() {

6
go/weed/filer.go

@ -6,9 +6,9 @@ import (
"strconv" "strconv"
"time" "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 ( var (

4
go/weed/fix.go

@ -5,8 +5,8 @@ import (
"path" "path"
"strconv" "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() { func init() {

6
go/weed/master.go

@ -8,9 +8,9 @@ import (
"strings" "strings"
"time" "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" "github.com/gorilla/mux"
) )

8
go/weed/mount_std.go

@ -9,10 +9,10 @@ import (
"bazil.org/fuse" "bazil.org/fuse"
"bazil.org/fuse/fs" "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 { func runMount(cmd *Command, args []string) bool {

6
go/weed/server.go

@ -10,9 +10,9 @@ import (
"sync" "sync"
"time" "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" "github.com/gorilla/mux"
) )

2
go/weed/shell.go

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
func init() { func init() {

2
go/weed/upload.go

@ -6,7 +6,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/mcqueenorama/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/operation"
) )
var ( var (

2
go/weed/version.go

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"runtime" "runtime"
"github.com/mcqueenorama/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
) )
var cmdVersion = &Command{ var cmdVersion = &Command{

6
go/weed/volume.go

@ -8,9 +8,9 @@ import (
"strings" "strings"
"time" "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() { func init() {

2
go/weed/volume_test.go

@ -5,7 +5,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
func TestXYZ(t *testing.T) { func TestXYZ(t *testing.T) {

2
go/weed/weed.go

@ -13,7 +13,7 @@ import (
"unicode" "unicode"
"unicode/utf8" "unicode/utf8"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
var IsDebug *bool var IsDebug *bool

10
go/weed/weed_server/common.go

@ -10,11 +10,11 @@ import (
"strconv" "strconv"
"strings" "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 var serverStats *stats.ServerStats

4
go/weed/weed_server/filer_server.go

@ -4,8 +4,8 @@ import (
"net/http" "net/http"
"strconv" "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 { type FilerServer struct {

6
go/weed/weed_server/filer_server_handlers.go

@ -11,9 +11,9 @@ import (
"strconv" "strconv"
"strings" "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" "github.com/syndtr/goleveldb/leveldb"
) )

2
go/weed/weed_server/filer_server_handlers_admin.go

@ -3,7 +3,7 @@ package weed_server
import ( import (
"net/http" "net/http"
"github.com/mcqueenorama/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
) )
/* /*

8
go/weed/weed_server/master_server.go

@ -6,10 +6,10 @@ import (
"net/url" "net/url"
"sync" "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/goraft/raft"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

6
go/weed/weed_server/master_server_handlers.go

@ -5,9 +5,9 @@ import (
"strconv" "strconv"
"strings" "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) { func (ms *MasterServer) lookupVolumeId(vids []string, collection string) (volumeLocations map[string]operation.LookupResult) {

10
go/weed/weed_server/master_server_handlers_admin.go

@ -9,11 +9,11 @@ import (
"strings" "strings"
proto "code.google.com/p/goprotobuf/proto" 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) { func (ms *MasterServer) collectionDeleteHandler(w http.ResponseWriter, r *http.Request) {

4
go/weed/weed_server/raft_server.go

@ -14,8 +14,8 @@ import (
"strings" "strings"
"time" "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/goraft/raft"
"github.com/gorilla/mux" "github.com/gorilla/mux"
) )

4
go/weed/weed_server/raft_server_handlers.go

@ -6,8 +6,8 @@ import (
"net/http" "net/http"
"strings" "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" "github.com/goraft/raft"
) )

4
go/weed/weed_server/volume_server.go

@ -6,8 +6,8 @@ import (
"strconv" "strconv"
"time" "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 { type VolumeServer struct {

12
go/weed/weed_server/volume_server_handlers.go

@ -9,12 +9,12 @@ import (
"strings" "strings"
"time" "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("\\", "\\\\", "\"", "\\\"") var fileNameEscaper = strings.NewReplacer("\\", "\\\\", "\"", "\\\"")

6
go/weed/weed_server/volume_server_handlers_admin.go

@ -4,9 +4,9 @@ import (
"net/http" "net/http"
"path/filepath" "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) { func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) {

2
go/weed/weed_server/volume_server_handlers_vacuum.go

@ -3,7 +3,7 @@ package weed_server
import ( import (
"net/http" "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) { func (vs *VolumeServer) vacuumVolumeCheckHandler(w http.ResponseWriter, r *http.Request) {

Loading…
Cancel
Save