wal: update Go import paths to "go.etcd.io/etcd"

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
Gyuho Lee 2018-08-28 17:12:23 -07:00
parent d537b328cb
commit 038fd844ac
10 changed files with 25 additions and 25 deletions

View File

@ -21,10 +21,10 @@ import (
"io" "io"
"sync" "sync"
"github.com/coreos/etcd/pkg/crc" "go.etcd.io/etcd/pkg/crc"
"github.com/coreos/etcd/pkg/pbutil" "go.etcd.io/etcd/pkg/pbutil"
"github.com/coreos/etcd/raft/raftpb" "go.etcd.io/etcd/raft/raftpb"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
) )
const minSectorSize = 512 const minSectorSize = 512

View File

@ -21,9 +21,9 @@ import (
"os" "os"
"sync" "sync"
"github.com/coreos/etcd/pkg/crc" "go.etcd.io/etcd/pkg/crc"
"github.com/coreos/etcd/pkg/ioutil" "go.etcd.io/etcd/pkg/ioutil"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
) )
// walPageBytes is the alignment for flushing records to the backing Writer. // walPageBytes is the alignment for flushing records to the backing Writer.

View File

@ -19,7 +19,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/coreos/etcd/pkg/fileutil" "go.etcd.io/etcd/pkg/fileutil"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -22,7 +22,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
) )
var ( var (

View File

@ -19,8 +19,8 @@ import (
"os" "os"
"path/filepath" "path/filepath"
"github.com/coreos/etcd/pkg/fileutil" "go.etcd.io/etcd/pkg/fileutil"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -21,8 +21,8 @@ import (
"os" "os"
"testing" "testing"
"github.com/coreos/etcd/raft/raftpb" "go.etcd.io/etcd/raft/raftpb"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -19,7 +19,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/coreos/etcd/pkg/fileutil" "go.etcd.io/etcd/pkg/fileutil"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -25,11 +25,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/coreos/etcd/pkg/fileutil" "go.etcd.io/etcd/pkg/fileutil"
"github.com/coreos/etcd/pkg/pbutil" "go.etcd.io/etcd/pkg/pbutil"
"github.com/coreos/etcd/raft" "go.etcd.io/etcd/raft"
"github.com/coreos/etcd/raft/raftpb" "go.etcd.io/etcd/raft/raftpb"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
"github.com/coreos/pkg/capnslog" "github.com/coreos/pkg/capnslog"
"go.uber.org/zap" "go.uber.org/zap"
@ -54,7 +54,7 @@ var (
// so that tests can set a different segment size. // so that tests can set a different segment size.
SegmentSizeBytes int64 = 64 * 1000 * 1000 // 64MB SegmentSizeBytes int64 = 64 * 1000 * 1000 // 64MB
plog = capnslog.NewPackageLogger("github.com/coreos/etcd", "wal") plog = capnslog.NewPackageLogger("go.etcd.io/etcd", "wal")
ErrMetadataConflict = errors.New("wal: conflicting metadata found") ErrMetadataConflict = errors.New("wal: conflicting metadata found")
ErrFileNotFound = errors.New("wal: file not found") ErrFileNotFound = errors.New("wal: file not found")

View File

@ -21,7 +21,7 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
"github.com/coreos/etcd/raft/raftpb" "go.etcd.io/etcd/raft/raftpb"
) )
func BenchmarkWrite100EntryWithoutBatch(b *testing.B) { benchmarkWriteEntry(b, 100, 0) } func BenchmarkWrite100EntryWithoutBatch(b *testing.B) { benchmarkWriteEntry(b, 100, 0) }

View File

@ -24,10 +24,10 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/coreos/etcd/pkg/fileutil" "go.etcd.io/etcd/pkg/fileutil"
"github.com/coreos/etcd/pkg/pbutil" "go.etcd.io/etcd/pkg/pbutil"
"github.com/coreos/etcd/raft/raftpb" "go.etcd.io/etcd/raft/raftpb"
"github.com/coreos/etcd/wal/walpb" "go.etcd.io/etcd/wal/walpb"
"go.uber.org/zap" "go.uber.org/zap"
) )