Browse Source

testing new directory structure

pull/2/head
Chris Lu 12 years ago
parent
commit
55f2627fcf
  1. 4
      weed/directory/file_id.go
  2. 4
      weed/export.go
  3. 2
      weed/fix.go
  4. 6
      weed/master.go
  5. 6
      weed/operation/allocate_volume.go
  6. 4
      weed/operation/lookup_volume_id.go
  7. 6
      weed/replication/volume_growth.go
  8. 4
      weed/replication/volume_growth_test.go
  9. 2
      weed/storage/compact_map_perf_test.go
  10. 2
      weed/storage/needle.go
  11. 2
      weed/storage/needle_map.go
  12. 2
      weed/storage/needle_read_write.go
  13. 2
      weed/storage/store.go
  14. 2
      weed/topology/data_node.go
  15. 2
      weed/topology/node.go
  16. 2
      weed/topology/node_list.go
  17. 2
      weed/topology/topo_test.go
  18. 6
      weed/topology/topology.go
  19. 4
      weed/topology/topology_compact.go
  20. 2
      weed/topology/topology_event_handling.go
  21. 2
      weed/topology/volume_layout.go
  22. 4
      weed/upload.go
  23. 4
      weed/volume.go

4
weed/directory/file_id.go

@ -2,8 +2,8 @@ package directory
import (
"encoding/hex"
"weed/storage"
"weed/util"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/util"
"strings"
)

4
weed/export.go

@ -7,8 +7,8 @@ import (
"log"
"os"
"path"
"weed/directory"
"weed/storage"
"code.google.com/p/weed-fs/weed/directory"
"code.google.com/p/weed-fs/weed/storage"
"strconv"
"strings"
"text/template"

2
weed/fix.go

@ -4,7 +4,7 @@ import (
"log"
"os"
"path"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
"strconv"
)

6
weed/master.go

@ -5,9 +5,9 @@ import (
"errors"
"log"
"net/http"
"weed/replication"
"weed/storage"
"weed/topology"
"code.google.com/p/weed-fs/weed/replication"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"runtime"
"strconv"
"strings"

6
weed/operation/allocate_volume.go

@ -4,9 +4,9 @@ import (
"encoding/json"
"errors"
"net/url"
"weed/storage"
"weed/topology"
"weed/util"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"code.google.com/p/weed-fs/weed/util"
)
type AllocateVolumeResult struct {

4
weed/operation/lookup_volume_id.go

@ -5,8 +5,8 @@ import (
"errors"
_ "fmt"
"net/url"
"weed/storage"
"weed/util"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/util"
)
type Location struct {

6
weed/replication/volume_growth.go

@ -4,9 +4,9 @@ import (
"errors"
"fmt"
"math/rand"
"weed/operation"
"weed/storage"
"weed/topology"
"code.google.com/p/weed-fs/weed/operation"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"sync"
)

4
weed/replication/volume_growth_test.go

@ -4,8 +4,8 @@ import (
"encoding/json"
"fmt"
"math/rand"
"weed/storage"
"weed/topology"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/topology"
"testing"
"time"
)

2
weed/storage/compact_map_perf_test.go

@ -3,7 +3,7 @@ package storage
import (
"log"
"os"
"weed/util"
"code.google.com/p/weed-fs/weed/util"
"testing"
)

2
weed/storage/needle.go

@ -7,7 +7,7 @@ import (
"mime"
"net/http"
"path"
"weed/util"
"code.google.com/p/weed-fs/weed/util"
"strconv"
"strings"
)

2
weed/storage/needle_map.go

@ -3,7 +3,7 @@ package storage
import (
//"log"
"os"
"weed/util"
"code.google.com/p/weed-fs/weed/util"
)
type NeedleMap struct {

2
weed/storage/needle_read_write.go

@ -5,7 +5,7 @@ import (
"fmt"
"io"
"os"
"weed/util"
"code.google.com/p/weed-fs/weed/util"
)
const (

2
weed/storage/store.go

@ -6,7 +6,7 @@ import (
"io/ioutil"
"log"
"net/url"
"weed/util"
"code.google.com/p/weed-fs/weed/util"
"strconv"
"strings"
)

2
weed/topology/data_node.go

@ -2,7 +2,7 @@ package topology
import (
_ "fmt"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
"strconv"
)

2
weed/topology/node.go

@ -2,7 +2,7 @@ package topology
import (
"fmt"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
)
type NodeId string

2
weed/topology/node_list.go

@ -3,7 +3,7 @@ package topology
import (
"fmt"
"math/rand"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
)
type NodeList struct {

2
weed/topology/topo_test.go

@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"
"math/rand"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
"testing"
"time"
)

6
weed/topology/topology.go

@ -4,9 +4,9 @@ import (
"errors"
"io/ioutil"
"math/rand"
"weed/directory"
"weed/sequence"
"weed/storage"
"code.google.com/p/weed-fs/weed/directory"
"code.google.com/p/weed-fs/weed/sequence"
"code.google.com/p/weed-fs/weed/storage"
)
type Topology struct {

4
weed/topology/topology_compact.go

@ -5,8 +5,8 @@ import (
"errors"
"fmt"
"net/url"
"weed/storage"
"weed/util"
"code.google.com/p/weed-fs/weed/storage"
"code.google.com/p/weed-fs/weed/util"
"time"
)

2
weed/topology/topology_event_handling.go

@ -3,7 +3,7 @@ package topology
import (
"fmt"
"math/rand"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
"time"
)

2
weed/topology/volume_layout.go

@ -4,7 +4,7 @@ import (
"errors"
"fmt"
"math/rand"
"weed/storage"
"code.google.com/p/weed-fs/weed/storage"
)
type VolumeLayout struct {

4
weed/upload.go

@ -7,8 +7,8 @@ import (
"net/url"
"os"
"path"
"weed/operation"
"weed/util"
"code.google.com/p/weed-fs/weed/operation"
"code.google.com/p/weed-fs/weed/util"
"strconv"
)

4
weed/volume.go

@ -7,8 +7,8 @@ import (
"mime"
"net/http"
"os"
"weed/operation"
"weed/storage"
"code.google.com/p/weed-fs/weed/operation"
"code.google.com/p/weed-fs/weed/storage"
"runtime"
"strconv"
"strings"

Loading…
Cancel
Save