aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--go/filer/client_operations.go2
-rw-r--r--go/filer/directory_in_map.go2
-rw-r--r--go/filer/filer_embedded.go2
-rw-r--r--go/filer/files_in_leveldb.go2
-rw-r--r--go/operation/assign_file_id.go4
-rw-r--r--go/operation/delete_content.go2
-rw-r--r--go/operation/list_masters.go4
-rw-r--r--go/operation/lookup.go2
-rw-r--r--go/operation/submit.go2
-rw-r--r--go/operation/upload_content.go2
-rw-r--r--go/storage/cdb_map.go2
-rw-r--r--go/storage/cdb_map_test.go2
-rw-r--r--go/storage/compact_map_perf_test.go4
-rw-r--r--go/storage/compress.go2
-rw-r--r--go/storage/crc.go2
-rw-r--r--go/storage/file_id.go4
-rw-r--r--go/storage/needle.go6
-rw-r--r--go/storage/needle_map.go4
-rw-r--r--go/storage/needle_read_write.go4
-rw-r--r--go/storage/store.go6
-rw-r--r--go/storage/store_vacuum.go2
-rw-r--r--go/storage/volume.go2
-rw-r--r--go/storage/volume_info.go2
-rw-r--r--go/storage/volume_super_block.go2
-rw-r--r--go/storage/volume_vacuum.go2
-rw-r--r--go/tools/read_index.go2
-rw-r--r--go/topology/allocate_volume.go4
-rw-r--r--go/topology/cluster_commands.go4
-rw-r--r--go/topology/collection.go4
-rw-r--r--go/topology/data_node.go4
-rw-r--r--go/topology/node.go4
-rw-r--r--go/topology/store_replicate.go8
-rw-r--r--go/topology/topology.go10
-rw-r--r--go/topology/topology_event_handling.go4
-rw-r--r--go/topology/topology_vacuum.go6
-rw-r--r--go/topology/volume_growth.go4
-rw-r--r--go/topology/volume_growth_test.go4
-rw-r--r--go/topology/volume_layout.go4
-rw-r--r--go/util/config.go2
-rw-r--r--go/util/file_util.go2
-rw-r--r--go/util/net_timeout.go2
-rw-r--r--go/weed/benchmark.go6
-rw-r--r--go/weed/compact.go4
-rw-r--r--go/weed/download.go4
-rw-r--r--go/weed/export.go4
-rw-r--r--go/weed/filer.go7
-rw-r--r--go/weed/fix.go4
-rw-r--r--go/weed/master.go6
-rw-r--r--go/weed/mount_std.go8
-rw-r--r--go/weed/server.go6
-rw-r--r--go/weed/shell.go2
-rw-r--r--go/weed/upload.go2
-rw-r--r--go/weed/version.go2
-rw-r--r--go/weed/volume.go6
-rw-r--r--go/weed/volume_test.go2
-rw-r--r--go/weed/weed.go2
-rw-r--r--go/weed/weed_server/common.go10
-rw-r--r--go/weed/weed_server/filer_server.go4
-rw-r--r--go/weed/weed_server/filer_server_handlers.go6
-rw-r--r--go/weed/weed_server/filer_server_handlers_admin.go2
-rw-r--r--go/weed/weed_server/master_server.go8
-rw-r--r--go/weed/weed_server/master_server_handlers.go6
-rw-r--r--go/weed/weed_server/master_server_handlers_admin.go10
-rw-r--r--go/weed/weed_server/raft_server.go4
-rw-r--r--go/weed/weed_server/raft_server_handlers.go4
-rw-r--r--go/weed/weed_server/volume_server.go4
-rw-r--r--go/weed/weed_server/volume_server_handlers.go12
-rw-r--r--go/weed/weed_server/volume_server_handlers_admin.go6
-rw-r--r--go/weed/weed_server/volume_server_handlers_vacuum.go2
69 files changed, 141 insertions, 140 deletions
diff --git a/go/filer/client_operations.go b/go/filer/client_operations.go
index b38368735..50f95bab1 100644
--- a/go/filer/client_operations.go
+++ b/go/filer/client_operations.go
@@ -5,7 +5,7 @@ import (
"errors"
"fmt"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
"net/url"
)
diff --git a/go/filer/directory_in_map.go b/go/filer/directory_in_map.go
index ee601066c..d3fe7080f 100644
--- a/go/filer/directory_in_map.go
+++ b/go/filer/directory_in_map.go
@@ -10,7 +10,7 @@ import (
"strings"
"sync"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
var writeLock sync.Mutex //serialize changes to dir.log
diff --git a/go/filer/filer_embedded.go b/go/filer/filer_embedded.go
index 0b9b4e668..58684a4d4 100644
--- a/go/filer/filer_embedded.go
+++ b/go/filer/filer_embedded.go
@@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"
- "github.com/chrislusf/weed-fs/go/operation"
+ "github.com/mcqueenorama/weed-fs/go/operation"
)
type FilerEmbedded struct {
diff --git a/go/filer/files_in_leveldb.go b/go/filer/files_in_leveldb.go
index 781bb0e5f..ca2c4e796 100644
--- a/go/filer/files_in_leveldb.go
+++ b/go/filer/files_in_leveldb.go
@@ -3,7 +3,7 @@ package filer
import (
"bytes"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/util"
)
diff --git a/go/operation/assign_file_id.go b/go/operation/assign_file_id.go
index 672bfa99c..4fe571d59 100644
--- a/go/operation/assign_file_id.go
+++ b/go/operation/assign_file_id.go
@@ -6,8 +6,8 @@ import (
"net/url"
"strconv"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
type AssignResult struct {
diff --git a/go/operation/delete_content.go b/go/operation/delete_content.go
index 416a852b3..06787dabe 100644
--- a/go/operation/delete_content.go
+++ b/go/operation/delete_content.go
@@ -7,7 +7,7 @@ import (
"strings"
"sync"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
type DeleteResult struct {
diff --git a/go/operation/list_masters.go b/go/operation/list_masters.go
index 7ada94243..542a3cb38 100644
--- a/go/operation/list_masters.go
+++ b/go/operation/list_masters.go
@@ -3,8 +3,8 @@ package operation
import (
"encoding/json"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
type ClusterStatusResult struct {
diff --git a/go/operation/lookup.go b/go/operation/lookup.go
index e6b6658da..2fd238e7a 100644
--- a/go/operation/lookup.go
+++ b/go/operation/lookup.go
@@ -9,7 +9,7 @@ import (
"strings"
"time"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
type Location struct {
diff --git a/go/operation/submit.go b/go/operation/submit.go
index 62db46617..c4f64f5a2 100644
--- a/go/operation/submit.go
+++ b/go/operation/submit.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
type FilePart struct {
diff --git a/go/operation/upload_content.go b/go/operation/upload_content.go
index 480d76dca..297d78a04 100644
--- a/go/operation/upload_content.go
+++ b/go/operation/upload_content.go
@@ -14,7 +14,7 @@ import (
"path/filepath"
"strings"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
type UploadResult struct {
diff --git a/go/storage/cdb_map.go b/go/storage/cdb_map.go
index fbb59e9c0..824672cae 100644
--- a/go/storage/cdb_map.go
+++ b/go/storage/cdb_map.go
@@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
"github.com/tgulacsi/go-cdb"
)
diff --git a/go/storage/cdb_map_test.go b/go/storage/cdb_map_test.go
index ed690f44f..3b13d5b76 100644
--- a/go/storage/cdb_map_test.go
+++ b/go/storage/cdb_map_test.go
@@ -6,7 +6,7 @@ import (
"runtime"
"testing"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
var testIndexFilename string = "../../test/sample.idx"
diff --git a/go/storage/compact_map_perf_test.go b/go/storage/compact_map_perf_test.go
index f74684225..bebed48ba 100644
--- a/go/storage/compact_map_perf_test.go
+++ b/go/storage/compact_map_perf_test.go
@@ -5,8 +5,8 @@ import (
"os"
"testing"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
func TestMemoryUsage(t *testing.T) {
diff --git a/go/storage/compress.go b/go/storage/compress.go
index 5efc9e1f1..88a9c9c15 100644
--- a/go/storage/compress.go
+++ b/go/storage/compress.go
@@ -7,7 +7,7 @@ import (
"io/ioutil"
"strings"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
/*
diff --git a/go/storage/crc.go b/go/storage/crc.go
index af25b9e53..01452dd4a 100644
--- a/go/storage/crc.go
+++ b/go/storage/crc.go
@@ -4,7 +4,7 @@ import (
"fmt"
"hash/crc32"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
var table = crc32.MakeTable(crc32.Castagnoli)
diff --git a/go/storage/file_id.go b/go/storage/file_id.go
index f6e36a98c..55ccdd110 100644
--- a/go/storage/file_id.go
+++ b/go/storage/file_id.go
@@ -5,8 +5,8 @@ import (
"errors"
"strings"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
type FileId struct {
diff --git a/go/storage/needle.go b/go/storage/needle.go
index aa3206920..13ee34bd6 100644
--- a/go/storage/needle.go
+++ b/go/storage/needle.go
@@ -11,9 +11,9 @@ import (
"strings"
"time"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/images"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/images"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
const (
diff --git a/go/storage/needle_map.go b/go/storage/needle_map.go
index 504ca1552..c7150d4d9 100644
--- a/go/storage/needle_map.go
+++ b/go/storage/needle_map.go
@@ -5,8 +5,8 @@ import (
"io"
"os"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
type NeedleMapper interface {
diff --git a/go/storage/needle_read_write.go b/go/storage/needle_read_write.go
index 663b5abbd..d4529f92d 100644
--- a/go/storage/needle_read_write.go
+++ b/go/storage/needle_read_write.go
@@ -6,8 +6,8 @@ import (
"io"
"os"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
const (
diff --git a/go/storage/store.go b/go/storage/store.go
index 80d8a30b8..97dc16f70 100644
--- a/go/storage/store.go
+++ b/go/storage/store.go
@@ -10,9 +10,9 @@ import (
"strings"
proto "code.google.com/p/goprotobuf/proto"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/operation"
- "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/util"
)
const (
diff --git a/go/storage/store_vacuum.go b/go/storage/store_vacuum.go
index 209e3b4b3..0db083055 100644
--- a/go/storage/store_vacuum.go
+++ b/go/storage/store_vacuum.go
@@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
func (s *Store) CheckCompactVolume(volumeIdString string, garbageThresholdString string) (error, bool) {
diff --git a/go/storage/volume.go b/go/storage/volume.go
index 5b0a83605..540da3140 100644
--- a/go/storage/volume.go
+++ b/go/storage/volume.go
@@ -10,7 +10,7 @@ import (
"sync"
"time"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
type Volume struct {
diff --git a/go/storage/volume_info.go b/go/storage/volume_info.go
index 6410c1784..503967c97 100644
--- a/go/storage/volume_info.go
+++ b/go/storage/volume_info.go
@@ -1,7 +1,7 @@
package storage
import (
- "github.com/chrislusf/weed-fs/go/operation"
+ "github.com/mcqueenorama/weed-fs/go/operation"
)
type VolumeInfo struct {
diff --git a/go/storage/volume_super_block.go b/go/storage/volume_super_block.go
index 57e0deea9..32b799f26 100644
--- a/go/storage/volume_super_block.go
+++ b/go/storage/volume_super_block.go
@@ -4,7 +4,7 @@ import (
"fmt"
"os"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
const (
diff --git a/go/storage/volume_vacuum.go b/go/storage/volume_vacuum.go
index 7e026a61d..28028241a 100644
--- a/go/storage/volume_vacuum.go
+++ b/go/storage/volume_vacuum.go
@@ -5,7 +5,7 @@ import (
"os"
"time"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
func (v *Volume) garbageLevel() float64 {
diff --git a/go/tools/read_index.go b/go/tools/read_index.go
index 1104dc348..ed18167b2 100644
--- a/go/tools/read_index.go
+++ b/go/tools/read_index.go
@@ -6,7 +6,7 @@ import (
"log"
"os"
- "github.com/chrislusf/weed-fs/go/storage"
+ "github.com/mcqueenorama/weed-fs/go/storage"
)
var (
diff --git a/go/topology/allocate_volume.go b/go/topology/allocate_volume.go
index a791b4c1c..38843dd54 100644
--- a/go/topology/allocate_volume.go
+++ b/go/topology/allocate_volume.go
@@ -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 {
diff --git a/go/topology/cluster_commands.go b/go/topology/cluster_commands.go
index cafc52c76..c88de9e0b 100644
--- a/go/topology/cluster_commands.go
+++ b/go/topology/cluster_commands.go
@@ -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"
)
diff --git a/go/topology/collection.go b/go/topology/collection.go
index 4b47ae88a..cded90650 100644
--- a/go/topology/collection.go
+++ b/go/topology/collection.go
@@ -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 {
diff --git a/go/topology/data_node.go b/go/topology/data_node.go
index 109bd037f..c12396e87 100644
--- a/go/topology/data_node.go
+++ b/go/topology/data_node.go
@@ -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 {
diff --git a/go/topology/node.go b/go/topology/node.go
index 10955fa72..9c8e7700b 100644
--- a/go/topology/node.go
+++ b/go/topology/node.go
@@ -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
diff --git a/go/topology/store_replicate.go b/go/topology/store_replicate.go
index 0c52f9d30..b949b33c3 100644
--- a/go/topology/store_replicate.go
+++ b/go/topology/store_replicate.go
@@ -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) {
diff --git a/go/topology/topology.go b/go/topology/topology.go
index c2073ed2f..6c9cbe3da 100644
--- a/go/topology/topology.go
+++ b/go/topology/topology.go
@@ -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"
)
diff --git a/go/topology/topology_event_handling.go b/go/topology/topology_event_handling.go
index 7e36568b6..49e67c8f5 100644
--- a/go/topology/topology_event_handling.go
+++ b/go/topology/topology_event_handling.go
@@ -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) {
diff --git a/go/topology/topology_vacuum.go b/go/topology/topology_vacuum.go
index d6fa2213e..9e532876f 100644
--- a/go/topology/topology_vacuum.go
+++ b/go/topology/topology_vacuum.go
@@ -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 {
diff --git a/go/topology/volume_growth.go b/go/topology/volume_growth.go
index b1f241990..02466d539 100644
--- a/go/topology/volume_growth.go
+++ b/go/topology/volume_growth.go
@@ -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"
)
/*
diff --git a/go/topology/volume_growth_test.go b/go/topology/volume_growth_test.go
index 267b36042..333ab5a3a 100644
--- a/go/topology/volume_growth_test.go
+++ b/go/topology/volume_growth_test.go
@@ -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 = `
diff --git a/go/topology/volume_layout.go b/go/topology/volume_layout.go
index de72bf895..8c6f80954 100644
--- a/go/topology/volume_layout.go
+++ b/go/topology/volume_layout.go
@@ -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
diff --git a/go/util/config.go b/go/util/config.go
index 4cf1d7c64..071d731c9 100644
--- a/go/util/config.go
+++ b/go/util/config.go
@@ -13,7 +13,7 @@ import (
"encoding/json"
"os"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
type Config struct {
diff --git a/go/util/file_util.go b/go/util/file_util.go
index 30e24f001..176aaac96 100644
--- a/go/util/file_util.go
+++ b/go/util/file_util.go
@@ -5,7 +5,7 @@ import (
"errors"
"os"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
func TestFolderWritable(folder string) (err error) {
diff --git a/go/util/net_timeout.go b/go/util/net_timeout.go
index f274e4802..4e54b6798 100644
--- a/go/util/net_timeout.go
+++ b/go/util/net_timeout.go
@@ -4,7 +4,7 @@ import (
"net"
"time"
- "github.com/chrislusf/weed-fs/go/stats"
+ "github.com/mcqueenorama/weed-fs/go/stats"
)
// Listener wraps a net.Listener, and gives a place to store the timeout
diff --git a/go/weed/benchmark.go b/go/weed/benchmark.go
index f4f0b1874..2d507ebb6 100644
--- a/go/weed/benchmark.go
+++ b/go/weed/benchmark.go
@@ -14,9 +14,9 @@ import (
"sync"
"time"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/operation"
- "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/util"
)
type BenchmarkOptions struct {
diff --git a/go/weed/compact.go b/go/weed/compact.go
index 71c4ea90f..1ecb85cf9 100644
--- a/go/weed/compact.go
+++ b/go/weed/compact.go
@@ -1,8 +1,8 @@
package main
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"
)
func init() {
diff --git a/go/weed/download.go b/go/weed/download.go
index c782654f5..82c0fd45e 100644
--- a/go/weed/download.go
+++ b/go/weed/download.go
@@ -8,8 +8,8 @@ import (
"path"
"strings"
- "github.com/chrislusf/weed-fs/go/operation"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/operation"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
var (
diff --git a/go/weed/export.go b/go/weed/export.go
index c9cc0e3fe..472e63aea 100644
--- a/go/weed/export.go
+++ b/go/weed/export.go
@@ -11,8 +11,8 @@ import (
"text/template"
"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 init() {
diff --git a/go/weed/filer.go b/go/weed/filer.go
index 5ae3a3496..173ccddc7 100644
--- a/go/weed/filer.go
+++ b/go/weed/filer.go
@@ -6,9 +6,9 @@ import (
"strconv"
"time"
- "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/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/weed/weed_server"
)
var (
@@ -57,6 +57,7 @@ var cmdFiler = &Command{
}
func runFiler(cmd *Command, args []string) bool {
+
if err := util.TestFolderWritable(*f.dir); err != nil {
glog.Fatalf("Check Meta Folder (-dir) Writable %s : %s", *f.dir, err)
}
diff --git a/go/weed/fix.go b/go/weed/fix.go
index e66075ed2..0f5f0b7f3 100644
--- a/go/weed/fix.go
+++ b/go/weed/fix.go
@@ -5,8 +5,8 @@ import (
"path"
"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"
)
func init() {
diff --git a/go/weed/master.go b/go/weed/master.go
index f88964b6d..885e6e207 100644
--- a/go/weed/master.go
+++ b/go/weed/master.go
@@ -8,9 +8,9 @@ import (
"strings"
"time"
- "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/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/weed/weed_server"
"github.com/gorilla/mux"
)
diff --git a/go/weed/mount_std.go b/go/weed/mount_std.go
index 808c6c563..e930240b1 100644
--- a/go/weed/mount_std.go
+++ b/go/weed/mount_std.go
@@ -9,10 +9,10 @@ import (
"bazil.org/fuse"
"bazil.org/fuse/fs"
- "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"
+ "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"
)
func runMount(cmd *Command, args []string) bool {
diff --git a/go/weed/server.go b/go/weed/server.go
index 22222d699..13e9797ba 100644
--- a/go/weed/server.go
+++ b/go/weed/server.go
@@ -10,9 +10,9 @@ import (
"sync"
"time"
- "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/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/weed/weed_server"
"github.com/gorilla/mux"
)
diff --git a/go/weed/shell.go b/go/weed/shell.go
index f2c4990ea..04cfb4730 100644
--- a/go/weed/shell.go
+++ b/go/weed/shell.go
@@ -5,7 +5,7 @@ import (
"fmt"
"os"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
func init() {
diff --git a/go/weed/upload.go b/go/weed/upload.go
index 2d67c0bd9..7623f7d9b 100644
--- a/go/weed/upload.go
+++ b/go/weed/upload.go
@@ -6,7 +6,7 @@ import (
"os"
"path/filepath"
- "github.com/chrislusf/weed-fs/go/operation"
+ "github.com/mcqueenorama/weed-fs/go/operation"
)
var (
diff --git a/go/weed/version.go b/go/weed/version.go
index 8d3a6fed7..13f7ea23a 100644
--- a/go/weed/version.go
+++ b/go/weed/version.go
@@ -4,7 +4,7 @@ import (
"fmt"
"runtime"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
var cmdVersion = &Command{
diff --git a/go/weed/volume.go b/go/weed/volume.go
index 212cb4b33..71a296702 100644
--- a/go/weed/volume.go
+++ b/go/weed/volume.go
@@ -8,9 +8,9 @@ import (
"strings"
"time"
- "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/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/weed/weed_server"
)
func init() {
diff --git a/go/weed/volume_test.go b/go/weed/volume_test.go
index ef00a8c7c..b936ba4f2 100644
--- a/go/weed/volume_test.go
+++ b/go/weed/volume_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"time"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
func TestXYZ(t *testing.T) {
diff --git a/go/weed/weed.go b/go/weed/weed.go
index c304b7f35..0620cdf17 100644
--- a/go/weed/weed.go
+++ b/go/weed/weed.go
@@ -13,7 +13,7 @@ import (
"unicode"
"unicode/utf8"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
var IsDebug *bool
diff --git a/go/weed/weed_server/common.go b/go/weed/weed_server/common.go
index 39b0830e3..55f5e69a4 100644
--- a/go/weed/weed_server/common.go
+++ b/go/weed/weed_server/common.go
@@ -10,11 +10,11 @@ import (
"strconv"
"strings"
- "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"
+ "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"
)
var serverStats *stats.ServerStats
diff --git a/go/weed/weed_server/filer_server.go b/go/weed/weed_server/filer_server.go
index 0bda58d06..2630a3398 100644
--- a/go/weed/weed_server/filer_server.go
+++ b/go/weed/weed_server/filer_server.go
@@ -4,8 +4,8 @@ import (
"net/http"
"strconv"
- "github.com/chrislusf/weed-fs/go/filer"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/filer"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
type FilerServer struct {
diff --git a/go/weed/weed_server/filer_server_handlers.go b/go/weed/weed_server/filer_server_handlers.go
index 6f22912a7..e5a7a860e 100644
--- a/go/weed/weed_server/filer_server_handlers.go
+++ b/go/weed/weed_server/filer_server_handlers.go
@@ -11,9 +11,9 @@ import (
"strconv"
"strings"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/operation"
- "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/util"
"github.com/syndtr/goleveldb/leveldb"
)
diff --git a/go/weed/weed_server/filer_server_handlers_admin.go b/go/weed/weed_server/filer_server_handlers_admin.go
index 5ba12e0b8..f63701a6b 100644
--- a/go/weed/weed_server/filer_server_handlers_admin.go
+++ b/go/weed/weed_server/filer_server_handlers_admin.go
@@ -3,7 +3,7 @@ package weed_server
import (
"net/http"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
/*
diff --git a/go/weed/weed_server/master_server.go b/go/weed/weed_server/master_server.go
index d000cb610..d96354eb9 100644
--- a/go/weed/weed_server/master_server.go
+++ b/go/weed/weed_server/master_server.go
@@ -6,10 +6,10 @@ import (
"net/url"
"sync"
- "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/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/goraft/raft"
"github.com/gorilla/mux"
)
diff --git a/go/weed/weed_server/master_server_handlers.go b/go/weed/weed_server/master_server_handlers.go
index 7a7a3b70d..25839669f 100644
--- a/go/weed/weed_server/master_server_handlers.go
+++ b/go/weed/weed_server/master_server_handlers.go
@@ -5,9 +5,9 @@ import (
"strconv"
"strings"
- "github.com/chrislusf/weed-fs/go/operation"
- "github.com/chrislusf/weed-fs/go/stats"
- "github.com/chrislusf/weed-fs/go/storage"
+ "github.com/mcqueenorama/weed-fs/go/operation"
+ "github.com/mcqueenorama/weed-fs/go/stats"
+ "github.com/mcqueenorama/weed-fs/go/storage"
)
func (ms *MasterServer) lookupVolumeId(vids []string, collection string) (volumeLocations map[string]operation.LookupResult) {
diff --git a/go/weed/weed_server/master_server_handlers_admin.go b/go/weed/weed_server/master_server_handlers_admin.go
index d7124e567..6ad83784b 100644
--- a/go/weed/weed_server/master_server_handlers_admin.go
+++ b/go/weed/weed_server/master_server_handlers_admin.go
@@ -9,11 +9,11 @@ import (
"strings"
proto "code.google.com/p/goprotobuf/proto"
- "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"
+ "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"
)
func (ms *MasterServer) collectionDeleteHandler(w http.ResponseWriter, r *http.Request) {
diff --git a/go/weed/weed_server/raft_server.go b/go/weed/weed_server/raft_server.go
index b9aaef2b0..fb85daecf 100644
--- a/go/weed/weed_server/raft_server.go
+++ b/go/weed/weed_server/raft_server.go
@@ -14,8 +14,8 @@ import (
"strings"
"time"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/topology"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/topology"
"github.com/goraft/raft"
"github.com/gorilla/mux"
)
diff --git a/go/weed/weed_server/raft_server_handlers.go b/go/weed/weed_server/raft_server_handlers.go
index b466d9afa..340a34e7b 100644
--- a/go/weed/weed_server/raft_server_handlers.go
+++ b/go/weed/weed_server/raft_server_handlers.go
@@ -6,8 +6,8 @@ import (
"net/http"
"strings"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/operation"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/operation"
"github.com/goraft/raft"
)
diff --git a/go/weed/weed_server/volume_server.go b/go/weed/weed_server/volume_server.go
index 0a65fd2f6..3e40a790a 100644
--- a/go/weed/weed_server/volume_server.go
+++ b/go/weed/weed_server/volume_server.go
@@ -6,8 +6,8 @@ import (
"strconv"
"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"
)
type VolumeServer struct {
diff --git a/go/weed/weed_server/volume_server_handlers.go b/go/weed/weed_server/volume_server_handlers.go
index 83f614941..e14bcea9e 100644
--- a/go/weed/weed_server/volume_server_handlers.go
+++ b/go/weed/weed_server/volume_server_handlers.go
@@ -9,12 +9,12 @@ import (
"strings"
"time"
- "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"
+ "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"
)
var fileNameEscaper = strings.NewReplacer("\\", "\\\\", "\"", "\\\"")
diff --git a/go/weed/weed_server/volume_server_handlers_admin.go b/go/weed/weed_server/volume_server_handlers_admin.go
index caf4c3be8..0d3f6ac5b 100644
--- a/go/weed/weed_server/volume_server_handlers_admin.go
+++ b/go/weed/weed_server/volume_server_handlers_admin.go
@@ -4,9 +4,9 @@ import (
"net/http"
"path/filepath"
- "github.com/chrislusf/weed-fs/go/glog"
- "github.com/chrislusf/weed-fs/go/stats"
- "github.com/chrislusf/weed-fs/go/util"
+ "github.com/mcqueenorama/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/stats"
+ "github.com/mcqueenorama/weed-fs/go/util"
)
func (vs *VolumeServer) statusHandler(w http.ResponseWriter, r *http.Request) {
diff --git a/go/weed/weed_server/volume_server_handlers_vacuum.go b/go/weed/weed_server/volume_server_handlers_vacuum.go
index f115e3b8b..da7172ae9 100644
--- a/go/weed/weed_server/volume_server_handlers_vacuum.go
+++ b/go/weed/weed_server/volume_server_handlers_vacuum.go
@@ -3,7 +3,7 @@ package weed_server
import (
"net/http"
- "github.com/chrislusf/weed-fs/go/glog"
+ "github.com/mcqueenorama/weed-fs/go/glog"
)
func (vs *VolumeServer) vacuumVolumeCheckHandler(w http.ResponseWriter, r *http.Request) {