Skip to content

Commit

Permalink
mvcc: update import paths "go.etcd.io/etcd"
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Aug 29, 2018
1 parent 1399bc6 commit d537b32
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion mvcc/backend/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (
// This only works for linux.
initialMmapSize = uint64(10 * 1024 * 1024 * 1024)

plog = capnslog.NewPackageLogger("github.com/coreos/etcd", "mvcc/backend")
plog = capnslog.NewPackageLogger("go.etcd.io/etcd", "mvcc/backend")

// minSnapshotWarningTimeout is the minimum threshold to trigger a long running snapshot warning.
minSnapshotWarningTimeout = 30 * time.Second
Expand Down
6 changes: 3 additions & 3 deletions mvcc/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package mvcc

import (
"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
)

type RangeOptions struct {
Expand Down
8 changes: 4 additions & 4 deletions mvcc/kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"testing"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/pkg/testutil"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/pkg/testutil"

"github.com/prometheus/client_golang/prometheus"
dto "github.com/prometheus/client_model/go"
Expand Down
2 changes: 1 addition & 1 deletion mvcc/kv_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package mvcc

import "github.com/coreos/etcd/lease"
import "go.etcd.io/etcd/lease"

type readView struct{ kv KV }

Expand Down
10 changes: 5 additions & 5 deletions mvcc/kvstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
"sync/atomic"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/pkg/schedule"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/pkg/schedule"

"github.com/coreos/pkg/capnslog"
"go.uber.org/zap"
Expand All @@ -47,7 +47,7 @@ var (
ErrCanceled = errors.New("mvcc: watcher is canceled")
ErrClosed = errors.New("mvcc: closed")

plog = capnslog.NewPackageLogger("github.com/coreos/etcd", "mvcc")
plog = capnslog.NewPackageLogger("go.etcd.io/etcd", "mvcc")
)

const (
Expand Down
4 changes: 2 additions & 2 deletions mvcc/kvstore_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"sync/atomic"
"testing"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"

"go.uber.org/zap"
)
Expand Down
4 changes: 2 additions & 2 deletions mvcc/kvstore_compaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"testing"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.uber.org/zap"
)

Expand Down
10 changes: 5 additions & 5 deletions mvcc/kvstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import (
"testing"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/pkg/schedule"
"github.com/coreos/etcd/pkg/testutil"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/pkg/schedule"
"go.etcd.io/etcd/pkg/testutil"

"go.uber.org/zap"
)
Expand Down
6 changes: 3 additions & 3 deletions mvcc/kvstore_txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
package mvcc

import (
"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion mvcc/metrics_txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package mvcc

import "github.com/coreos/etcd/lease"
import "go.etcd.io/etcd/lease"

type metricsTxnWrite struct {
TxnWrite
Expand Down
4 changes: 2 additions & 2 deletions mvcc/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"encoding/binary"
"fmt"

"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
)

func UpdateConsistentIndex(be backend.Backend, index uint64) {
Expand Down
6 changes: 3 additions & 3 deletions mvcc/watchable_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"sync"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.uber.org/zap"
)

Expand Down
4 changes: 2 additions & 2 deletions mvcc/watchable_store_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"os"
"testing"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"

"go.uber.org/zap"
)
Expand Down
6 changes: 3 additions & 3 deletions mvcc/watchable_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"testing"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion mvcc/watchable_store_txn.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package mvcc

import "github.com/coreos/etcd/mvcc/mvccpb"
import "go.etcd.io/etcd/mvcc/mvccpb"

func (tw *watchableStoreTxnWrite) End() {
changes := tw.Changes()
Expand Down
2 changes: 1 addition & 1 deletion mvcc/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"errors"
"sync"

"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/mvcc/mvccpb"
)

// AutoWatchID is the watcher ID passed in WatchStream.Watch when no
Expand Down
4 changes: 2 additions & 2 deletions mvcc/watcher_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"testing"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"

"go.uber.org/zap"
)
Expand Down
4 changes: 2 additions & 2 deletions mvcc/watcher_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"fmt"
"math"

"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/pkg/adt"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/pkg/adt"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions mvcc/watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"testing"
"time"

"github.com/coreos/etcd/lease"
"github.com/coreos/etcd/mvcc/backend"
"github.com/coreos/etcd/mvcc/mvccpb"
"go.etcd.io/etcd/lease"
"go.etcd.io/etcd/mvcc/backend"
"go.etcd.io/etcd/mvcc/mvccpb"
"go.uber.org/zap"
)

Expand Down

0 comments on commit d537b32

Please sign in to comment.