Sync from private repo to commit 12d608c80d

This commit is contained in:
Fletcher Haynes 2022-12-09 15:41:27 -08:00 committed by Fletcher Haynes
parent 5c76ad5e70
commit 5c39a49285
206 changed files with 732 additions and 742 deletions

10
api.go
View file

@ -22,11 +22,11 @@ import (
"sync"
"time"
fbcontext "github.com/molecula/featurebase/v3/context"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/computer"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/rbf"
fbcontext "github.com/featurebasedb/featurebase/v3/context"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/computer"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/rbf"
//"github.com/featurebasedb/featurebase/v3/pg"
"github.com/featurebasedb/featurebase/v3/pql"

View file

@ -7,9 +7,9 @@ import (
"log"
"sync"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/computer"
"github.com/molecula/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/computer"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/pkg/errors"
)

View file

@ -4,10 +4,10 @@ import (
"context"
"testing"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/dax"
daxtest "github.com/molecula/featurebase/v3/dax/test"
"github.com/molecula/featurebase/v3/test"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/dax"
daxtest "github.com/featurebasedb/featurebase/v3/dax/test"
"github.com/featurebasedb/featurebase/v3/test"
"github.com/stretchr/testify/assert"
)

View file

@ -16,9 +16,9 @@ import (
"github.com/apache/arrow/go/v10/parquet/file"
"github.com/apache/arrow/go/v10/parquet/pqarrow"
"github.com/gomem/gomem/pkg/dataframe"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/tracing"
"github.com/molecula/featurebase/v3/vprint"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/tracing"
"github.com/featurebasedb/featurebase/v3/vprint"
"github.com/pkg/errors"
ivy "robpike.io/ivy/arrow"

View file

@ -12,8 +12,8 @@ import (
"github.com/apache/arrow/go/v10/arrow/array"
"github.com/apache/arrow/go/v10/arrow/memory"
"github.com/gomem/gomem/pkg/dataframe"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/tracing"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/tracing"
"github.com/pkg/errors"
)

View file

@ -10,12 +10,12 @@ import (
"sync"
"time"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/batch/egpool"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/roaring"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/batch/egpool"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
)

View file

@ -3,10 +3,10 @@ package client
import (
"context"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/client/types"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/client/types"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
var _ featurebase.SchemaAPI = &schemaAPI{}

View file

@ -1,5 +1,4 @@
// Copyright 2022 Molecula Corp. (DBA FeatureBase).
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Molecula Corp. All rights reserved.
// package ctl contains all pilosa subcommands other than 'server'. These are
// generally administration, testing, and debugging tools.
package client
@ -21,7 +20,9 @@ import (
"sync"
"time"
"github.com/golang/protobuf/proto" //nolint:staticcheck
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/client/types"
fbproto "github.com/featurebasedb/featurebase/v3/encoding/proto" // TODO use this everywhere and get rid of proto import
"github.com/featurebasedb/featurebase/v3/logger"
pnet "github.com/featurebasedb/featurebase/v3/net"
@ -29,17 +30,7 @@ import (
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/stats"
"github.com/golang/protobuf/proto" //nolint:staticcheck
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/client/types"
fbproto "github.com/molecula/featurebase/v3/encoding/proto" // TODO use this everywhere and get rid of proto import
"github.com/molecula/featurebase/v3/logger"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/pb"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/stats"
"github.com/molecula/featurebase/v3/vprint"
"github.com/featurebasedb/featurebase/v3/vprint"
"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"

View file

@ -9,13 +9,13 @@ import (
"testing"
"time"
featurebase "github.com/molecula/featurebase/v3"
client_types "github.com/molecula/featurebase/v3/client/types"
"github.com/molecula/featurebase/v3/disco"
pnet "github.com/molecula/featurebase/v3/net"
"github.com/molecula/featurebase/v3/roaring"
"github.com/molecula/featurebase/v3/shardwidth"
"github.com/molecula/featurebase/v3/test"
featurebase "github.com/featurebasedb/featurebase/v3"
client_types "github.com/featurebasedb/featurebase/v3/client/types"
"github.com/featurebasedb/featurebase/v3/disco"
pnet "github.com/featurebasedb/featurebase/v3/net"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/shardwidth"
"github.com/featurebasedb/featurebase/v3/test"
"github.com/stretchr/testify/require"
"golang.org/x/sync/errgroup"
)

View file

@ -4,9 +4,9 @@ import (
"context"
"time"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/roaring"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
)

View file

@ -14,8 +14,8 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/client/types"
"github.com/molecula/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/client/types"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/pkg/errors"
)

View file

@ -14,9 +14,9 @@ import (
"testing"
"time"
pilosa "github.com/molecula/featurebase/v3"
clienttypes "github.com/molecula/featurebase/v3/client/types"
"github.com/molecula/featurebase/v3/pql"
pilosa "github.com/featurebasedb/featurebase/v3"
clienttypes "github.com/featurebasedb/featurebase/v3/client/types"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/pkg/errors"
)

View file

@ -9,11 +9,11 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/computer"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/roaring"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/computer"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/roaring"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"
)

View file

@ -3,8 +3,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -3,8 +3,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -2,8 +2,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -3,8 +3,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -2,8 +2,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -4,8 +4,8 @@ package cmd
import (
"io"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/dax/server"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/dax/server"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)

View file

@ -5,8 +5,8 @@ package cmd
import (
"github.com/spf13/cobra"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
)
var Exporter *ctl.ExportCommand

View file

@ -5,8 +5,8 @@ package cmd
import (
"github.com/spf13/cobra"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
)
var generateConf *ctl.GenerateConfigCommand

View file

@ -7,10 +7,10 @@ import (
"fmt"
"strconv"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/pql"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/spf13/cobra"
)

View file

@ -6,7 +6,7 @@ import (
"strings"
"testing"
pilosa "github.com/molecula/featurebase/v3"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/cmd"
"github.com/featurebasedb/featurebase/v3/pql"

View file

@ -3,8 +3,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -7,8 +7,8 @@ import (
"fmt"
"strconv"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -3,8 +3,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -2,8 +2,8 @@
package cmd
import (
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
)

View file

@ -9,9 +9,9 @@ import (
"io"
"strings"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/ctl"
"github.com/molecula/featurebase/v3/logger"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/ctl"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"

View file

@ -11,8 +11,8 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/cmd"
"github.com/molecula/featurebase/v3/testhook"
"github.com/featurebasedb/featurebase/v3/cmd"
"github.com/featurebasedb/featurebase/v3/testhook"
"github.com/spf13/cobra"
)

View file

@ -13,9 +13,9 @@ import (
"strings"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"golang.org/x/oauth2"
)

View file

@ -15,12 +15,12 @@ import (
"path/filepath"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/encoding/proto"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/ricochet2200/go-disk-usage/du"
"golang.org/x/sync/errgroup"
)

View file

@ -15,13 +15,13 @@ import (
"path/filepath"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/encoding/proto"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/vprint"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/encoding/proto"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/vprint"
"github.com/pkg/errors"
)

View file

@ -8,8 +8,8 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/test"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestBackupTarCommand_Run(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"io"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestBackupCommand_Run(t *testing.T) {

View file

@ -10,9 +10,9 @@ import (
"os"
"github.com/cespare/xxhash"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
)
// ChkSumCommand represents a command for backing up a Pilosa node.

View file

@ -7,8 +7,8 @@ import (
"os"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/test"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestChkSumCommand_Run(t *testing.T) {

View file

@ -12,14 +12,13 @@ import (
"strings"
"github.com/chzyer/readline"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/jedib0t/go-pretty/table"
"github.com/jedib0t/go-pretty/text"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/dax"
queryerhttp "github.com/molecula/featurebase/v3/dax/queryer/http"
"github.com/molecula/featurebase/v3/fbcloud"
"github.com/molecula/featurebase/v3/logger"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/dax"
queryerhttp "github.com/featurebasedb/featurebase/v3/dax/queryer/http"
"github.com/featurebasedb/featurebase/v3/fbcloud"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/pkg/errors"
)

View file

@ -8,7 +8,7 @@ import (
"io"
"os"
"github.com/molecula/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/server"
toml "github.com/pelletier/go-toml"
)

View file

@ -1,7 +1,7 @@
package ctl
import (
"github.com/molecula/featurebase/v3/dax/server"
"github.com/featurebasedb/featurebase/v3/dax/server"
"github.com/spf13/cobra"
)

View file

@ -8,9 +8,9 @@ import (
"io"
"os"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
)

View file

@ -10,9 +10,9 @@ import (
"strings"
"testing"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/test"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestExportCommand_Validation(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"io"
"os"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pelletier/go-toml"
"github.com/pkg/errors"
)

View file

@ -9,7 +9,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestGenerateConfigCommand_Run(t *testing.T) {

View file

@ -12,11 +12,11 @@ import (
"strconv"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/pql"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/pql"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
)

View file

@ -9,7 +9,7 @@ import (
"os"
"github.com/gorilla/securecookie"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
// Keygen represents a command for generating a cryptographic key.

View file

@ -8,7 +8,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestKeygenCommand_Run(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"io"
"os"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/rbf"
)
// RBFCheckCommand represents a command for running a consistency check on RBF.

View file

@ -9,7 +9,7 @@ import (
"path/filepath"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestRBFCheckCommand_Run(t *testing.T) {

View file

@ -10,8 +10,8 @@ import (
"os"
"strings"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/rbf"
)
// RBFDumpCommand represents a command for dumping raw data for an RBF page.

View file

@ -9,7 +9,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestRBFDumpCommand_Run(t *testing.T) {

View file

@ -8,8 +8,8 @@ import (
"io"
"os"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/rbf"
)
// RBFPageCommand represents a command for printing data for a single RBF page.

View file

@ -9,7 +9,7 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestRBFPageCommand_Run(t *testing.T) {

View file

@ -8,9 +8,9 @@ import (
"io"
"os"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/rbf"
"github.com/molecula/featurebase/v3/txkey"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/rbf"
"github.com/featurebasedb/featurebase/v3/txkey"
)
// RBFPagesCommand represents a command for printing a list of RBF page metadata.

View file

@ -9,7 +9,7 @@ import (
"path/filepath"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestRBFPagesCommand_Run(t *testing.T) {

View file

@ -15,11 +15,11 @@ import (
"strings"
"time"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/authn"
"github.com/molecula/featurebase/v3/disco"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/server"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/authn"
"github.com/featurebasedb/featurebase/v3/disco"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/pkg/errors"
"golang.org/x/sync/errgroup"
)

View file

@ -9,8 +9,8 @@ import (
"strings"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/molecula/featurebase/v3/test"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestRestoreTarCommand_Run(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"io"
"testing"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/logger"
)
func TestRestoreCommand_Run(t *testing.T) {

View file

@ -9,9 +9,9 @@ import (
"testing"
"github.com/apache/arrow/go/v10/arrow"
pilosa "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/server"
"github.com/molecula/featurebase/v3/test"
pilosa "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/server"
"github.com/featurebasedb/featurebase/v3/test"
)
func TestExecutor_Apply(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/stretchr/testify/assert"
)

View file

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/errors"
bolt "go.etcd.io/bbolt"
)

View file

@ -3,7 +3,7 @@ package boltdb_test
import (
"testing"
"github.com/molecula/featurebase/v3/dax/test/boltdb"
"github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
)
// Ensure the test database can open & close.

View file

@ -4,8 +4,8 @@ import (
"context"
"encoding/binary"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
var (

View file

@ -6,9 +6,9 @@ import (
"encoding/json"
"fmt"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
var (

View file

@ -4,11 +4,11 @@ import (
"context"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/boltdb"
testbolt "github.com/molecula/featurebase/v3/dax/test/boltdb"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/boltdb"
testbolt "github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/stretchr/testify/assert"
)

View file

@ -8,10 +8,10 @@ import (
"strconv"
"strings"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/inmem"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/inmem"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
var (

View file

@ -6,10 +6,10 @@ import (
"sort"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/boltdb"
testbolt "github.com/molecula/featurebase/v3/dax/test/boltdb"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/boltdb"
testbolt "github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/stretchr/testify/assert"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
// Registrar represents the methods which Computer uses to register itself with

View file

@ -4,7 +4,7 @@ import (
"fmt"
"path"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
const (

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"time"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
//////////////// Messages ///////////////////////

View file

@ -5,7 +5,7 @@ import (
"reflect"
"testing"
"github.com/molecula/featurebase/v3/dax/computer"
"github.com/featurebasedb/featurebase/v3/dax/computer"
"github.com/stretchr/testify/assert"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
// Ensure type implements interface.

View file

@ -6,17 +6,17 @@ import (
"net"
"net/http"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/computer"
mdsclient "github.com/molecula/featurebase/v3/dax/mds/client"
"github.com/molecula/featurebase/v3/dax/snapshotter"
snapshotterclient "github.com/molecula/featurebase/v3/dax/snapshotter/client"
"github.com/molecula/featurebase/v3/dax/writelogger"
writeloggerclient "github.com/molecula/featurebase/v3/dax/writelogger/client"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
fbserver "github.com/molecula/featurebase/v3/server"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/computer"
mdsclient "github.com/featurebasedb/featurebase/v3/dax/mds/client"
"github.com/featurebasedb/featurebase/v3/dax/snapshotter"
snapshotterclient "github.com/featurebasedb/featurebase/v3/dax/snapshotter/client"
"github.com/featurebasedb/featurebase/v3/dax/writelogger"
writeloggerclient "github.com/featurebasedb/featurebase/v3/dax/writelogger/client"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
fbserver "github.com/featurebasedb/featurebase/v3/server"
)
// Ensure type implements interface.

View file

@ -4,8 +4,8 @@ import (
"context"
"io"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
// Ensure type implements interface.

View file

@ -6,8 +6,8 @@ import (
"encoding/json"
"io"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
// Ensure type implements interface.

View file

@ -3,7 +3,7 @@ package dax
import (
"fmt"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/errors"
)
const (

View file

@ -7,12 +7,12 @@ import (
"runtime/debug"
"time"
"github.com/molecula/featurebase/v3/dax/mds"
"github.com/molecula/featurebase/v3/dax/queryer"
"github.com/molecula/featurebase/v3/dax/snapshotter"
"github.com/molecula/featurebase/v3/dax/writelogger"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax/mds"
"github.com/featurebasedb/featurebase/v3/dax/queryer"
"github.com/featurebasedb/featurebase/v3/dax/snapshotter"
"github.com/featurebasedb/featurebase/v3/dax/writelogger"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
// Handler represents an HTTP handler.

View file

@ -5,8 +5,8 @@ import (
"sort"
"sync"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
// Ensure type implements interface.

View file

@ -4,9 +4,9 @@ import (
"context"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/inmem"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/inmem"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/stretchr/testify/assert"
)

View file

@ -9,11 +9,11 @@ import (
"io"
"net/http"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller"
mdshttp "github.com/molecula/featurebase/v3/dax/mds/http"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
mdshttp "github.com/featurebasedb/featurebase/v3/dax/mds/http"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
const (

View file

@ -5,11 +5,11 @@ import (
"context"
"encoding/json"
featurebase "github.com/molecula/featurebase/v3"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller"
"github.com/molecula/featurebase/v3/errors"
featurebaseserver "github.com/molecula/featurebase/v3/server"
featurebase "github.com/featurebasedb/featurebase/v3"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
"github.com/featurebasedb/featurebase/v3/errors"
featurebaseserver "github.com/featurebasedb/featurebase/v3/server"
)
// Ensure type implements interface.

View file

@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
type Balancer interface {

View file

@ -3,9 +3,9 @@ package controller
import (
"time"
"github.com/molecula/featurebase/v3/dax/boltdb"
"github.com/molecula/featurebase/v3/dax/mds/schemar"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax/boltdb"
"github.com/featurebasedb/featurebase/v3/dax/mds/schemar"
"github.com/featurebasedb/featurebase/v3/logger"
)
type NewBalancerFn func(string, logger.Logger) Balancer

View file

@ -8,11 +8,11 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/boltdb"
"github.com/molecula/featurebase/v3/dax/mds/schemar"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/boltdb"
"github.com/featurebasedb/featurebase/v3/dax/mds/schemar"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
"golang.org/x/sync/errgroup"
)

View file

@ -7,13 +7,13 @@ import (
"sync"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller"
"github.com/molecula/featurebase/v3/dax/mds/controller/naive/boltdb"
daxtest "github.com/molecula/featurebase/v3/dax/test"
testbolt "github.com/molecula/featurebase/v3/dax/test/boltdb"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller/naive/boltdb"
daxtest "github.com/featurebasedb/featurebase/v3/dax/test"
testbolt "github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/stretchr/testify/assert"
)

View file

@ -3,7 +3,7 @@ package controller
import (
"context"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
type Director interface {

View file

@ -3,8 +3,8 @@ package controller
import (
"fmt"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
const (

View file

@ -11,10 +11,10 @@ import (
"net/http"
"time"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
// Ensure type implements interface.

View file

@ -11,10 +11,10 @@ import (
"sync"
"time"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
// Ensure type implements interface.

View file

@ -6,11 +6,11 @@ import (
"os"
"testing"
"github.com/molecula/featurebase/v3/dax"
daxbolt "github.com/molecula/featurebase/v3/dax/boltdb"
"github.com/molecula/featurebase/v3/dax/mds/controller/naive/boltdb"
testbolt "github.com/molecula/featurebase/v3/dax/test/boltdb"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
daxbolt "github.com/featurebasedb/featurebase/v3/dax/boltdb"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller/naive/boltdb"
testbolt "github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/stretchr/testify/assert"
)

View file

@ -8,12 +8,12 @@ import (
"fmt"
"strings"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/boltdb"
"github.com/molecula/featurebase/v3/dax/mds/controller"
"github.com/molecula/featurebase/v3/dax/mds/controller/naive"
"github.com/molecula/featurebase/v3/errors"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/boltdb"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller/naive"
"github.com/featurebasedb/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/logger"
)
var (

View file

@ -5,10 +5,10 @@ import (
"fmt"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller/naive/boltdb"
testbolt "github.com/molecula/featurebase/v3/dax/test/boltdb"
"github.com/molecula/featurebase/v3/logger"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller/naive/boltdb"
testbolt "github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
"github.com/featurebasedb/featurebase/v3/logger"
"github.com/stretchr/testify/assert"
)

View file

@ -3,7 +3,7 @@ package naive
import (
"sort"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
// jobSetDiffs is used internally to capture the diffs as they're happening. We

View file

@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
// nodeRegistrationRoutine is a long-running goroutine that reads

View file

@ -6,7 +6,7 @@ import (
"encoding/binary"
"hash/fnv"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
// Partitioner encapsulates helper methods for determining partitions

View file

@ -4,8 +4,8 @@ import (
"fmt"
"testing"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds/controller/partitioner"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller/partitioner"
"github.com/stretchr/testify/assert"
)

View file

@ -3,7 +3,7 @@ package controller
import (
"sort"
"github.com/molecula/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax"
)
// StringSet is a set of strings.

View file

@ -5,8 +5,8 @@ import (
"strconv"
"strings"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
// pUnit represents a table/partition combination. As a Stringer, it can be

View file

@ -1,6 +1,6 @@
package controller
import "github.com/molecula/featurebase/v3/dax"
import "github.com/featurebasedb/featurebase/v3/dax"
// ComputeNode represents a compute node and the table/shards for which it is
// responsible.

View file

@ -9,8 +9,8 @@ import (
"log"
"net/http"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/errors"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/errors"
)
var ErrNotImplemented = errors.New(errors.ErrUncoded, "not implemented")

View file

@ -5,9 +5,9 @@ import (
"net/http"
"github.com/gorilla/mux"
"github.com/molecula/featurebase/v3/dax"
"github.com/molecula/featurebase/v3/dax/mds"
"github.com/molecula/featurebase/v3/dax/mds/controller"
"github.com/featurebasedb/featurebase/v3/dax"
"github.com/featurebasedb/featurebase/v3/dax/mds"
"github.com/featurebasedb/featurebase/v3/dax/mds/controller"
)
func Handler(mds *mds.MDS) http.Handler {

Some files were not shown because too many files have changed in this diff Show more