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

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
release-3.4
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"
"sync"
"github.com/coreos/etcd/pkg/crc"
"github.com/coreos/etcd/pkg/pbutil"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/wal/walpb"
"go.etcd.io/etcd/pkg/crc"
"go.etcd.io/etcd/pkg/pbutil"
"go.etcd.io/etcd/raft/raftpb"
"go.etcd.io/etcd/wal/walpb"
)
const minSectorSize = 512

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -25,11 +25,11 @@ import (
"sync"
"time"
"github.com/coreos/etcd/pkg/fileutil"
"github.com/coreos/etcd/pkg/pbutil"
"github.com/coreos/etcd/raft"
"github.com/coreos/etcd/raft/raftpb"
"github.com/coreos/etcd/wal/walpb"
"go.etcd.io/etcd/pkg/fileutil"
"go.etcd.io/etcd/pkg/pbutil"
"go.etcd.io/etcd/raft"
"go.etcd.io/etcd/raft/raftpb"
"go.etcd.io/etcd/wal/walpb"
"github.com/coreos/pkg/capnslog"
"go.uber.org/zap"
@ -54,7 +54,7 @@ var (
// so that tests can set a different segment size.
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")
ErrFileNotFound = errors.New("wal: file not found")

View File

@ -21,7 +21,7 @@ import (
"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) }

View File

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