chore: i am an idiot, forgot to change the full path parts
Some checks failed
Go Tests / Run Tests (1.24.2) (push) Has been cancelled
Some checks failed
Go Tests / Run Tests (1.24.2) (push) Has been cancelled
This commit is contained in:
parent
d6d164752c
commit
25fe3b1771
@ -10,11 +10,11 @@ import (
|
||||
|
||||
"github.com/chzyer/readline"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
|
||||
// Import transaction package to register the transaction creator
|
||||
_ "github.com/jer/kevo/pkg/transaction"
|
||||
_ "github.com/jeremytregunna/kevo/pkg/transaction"
|
||||
)
|
||||
|
||||
// Command completer for readline
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
)
|
||||
|
||||
// CompactionBenchmarkOptions configures the compaction benchmark
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
)
|
||||
|
||||
// TuningResults stores the results of various configuration tuning runs
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module git.canoozie.net/jer/kevo
|
||||
module github.com/jeremytregunna/kevo
|
||||
|
||||
go 1.24.2
|
||||
|
||||
|
@ -3,7 +3,7 @@ package bounded
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
)
|
||||
|
||||
// BoundedIterator wraps an iterator and limits it to a specific key range
|
||||
|
@ -1,7 +1,7 @@
|
||||
package composite
|
||||
|
||||
import (
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
)
|
||||
|
||||
// CompositeIterator is an interface for iterators that combine multiple source iterators
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"sync"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
)
|
||||
|
||||
// HierarchicalIterator implements an iterator that follows the LSM-tree hierarchy
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"testing"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
)
|
||||
|
||||
// mockIterator is a simple in-memory iterator for testing
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
// BaseCompactionStrategy provides common functionality for compaction strategies
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
// SSTableInfo represents metadata about an SSTable file
|
||||
|
@ -9,8 +9,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
func createTestSSTable(t *testing.T, dir string, level, seq int, timestamp int64, keyValues map[string]string) string {
|
||||
|
@ -3,7 +3,7 @@ package compaction
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
// NewCompactionManager creates a new compaction manager with the old API
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
// CompactionCoordinatorOptions holds configuration options for the coordinator
|
||||
|
@ -6,10 +6,10 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jer/kevo/pkg/common/iterator/composite"
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator/composite"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
// DefaultCompactionExecutor handles the actual compaction process
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"path/filepath"
|
||||
"sort"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
// TieredCompactionStrategy implements a tiered compaction strategy
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/jer/kevo/pkg/compaction"
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/compaction"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
// setupCompaction initializes the compaction manager for the engine
|
||||
|
@ -10,12 +10,12 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jer/kevo/pkg/compaction"
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/memtable"
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/compaction"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/memtable"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
func setupTest(t *testing.T) (string, *Engine, func()) {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"container/heap"
|
||||
"sync"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jer/kevo/pkg/memtable"
|
||||
"github.com/jer/kevo/pkg/sstable"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/memtable"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable"
|
||||
)
|
||||
|
||||
// iterHeapItem represents an item in the priority queue of iterators
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"sync"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
)
|
||||
|
||||
// HierarchicalIterator implements an iterator that follows the LSM-tree hierarchy
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
// MemTablePool manages a pool of MemTables
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
func createTestConfig() *config.Config {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
// MemTable is an in-memory table that stores key-value pairs
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
func TestMemTableBasicOperations(t *testing.T) {
|
||||
|
@ -3,8 +3,8 @@ package memtable
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
// RecoveryOptions contains options for MemTable recovery
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
func setupTestWAL(t *testing.T) (string, *wal.WAL, func()) {
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/jer/kevo/pkg/sstable/block"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable/block"
|
||||
)
|
||||
|
||||
// Iterator iterates over key-value pairs in an SSTable
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
"github.com/jer/kevo/pkg/sstable/block"
|
||||
"github.com/jer/kevo/pkg/sstable/footer"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable/block"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable/footer"
|
||||
)
|
||||
|
||||
// IOManager handles file I/O operations for SSTable
|
||||
|
@ -3,7 +3,7 @@ package sstable
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/jer/kevo/pkg/sstable/block"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable/block"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/jer/kevo/pkg/sstable/block"
|
||||
"github.com/jer/kevo/pkg/sstable/footer"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable/block"
|
||||
"github.com/jeremytregunna/kevo/pkg/sstable/footer"
|
||||
)
|
||||
|
||||
// FileManager handles file operations for SSTable writing
|
||||
|
@ -1,7 +1,7 @@
|
||||
package transaction
|
||||
|
||||
import (
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
)
|
||||
|
||||
// TransactionCreatorImpl implements the engine.TransactionCreator interface
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jer/kevo/pkg/transaction"
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/transaction"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
// Disable all logs in tests
|
||||
|
@ -1,7 +1,7 @@
|
||||
package transaction
|
||||
|
||||
import (
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
)
|
||||
|
||||
// TransactionMode defines the transaction access mode (ReadOnly or ReadWrite)
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
)
|
||||
|
||||
func setupTestEngine(t *testing.T) (*engine.Engine, string) {
|
||||
|
@ -6,10 +6,10 @@ import (
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/jer/kevo/pkg/common/iterator"
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jer/kevo/pkg/transaction/txbuffer"
|
||||
"github.com/jer/kevo/pkg/wal"
|
||||
"github.com/jeremytregunna/kevo/pkg/common/iterator"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/transaction/txbuffer"
|
||||
"github.com/jeremytregunna/kevo/pkg/wal"
|
||||
)
|
||||
|
||||
// Common errors for transaction operations
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/jer/kevo/pkg/engine"
|
||||
"github.com/jeremytregunna/kevo/pkg/engine"
|
||||
)
|
||||
|
||||
func setupTest(t *testing.T) (*engine.Engine, func()) {
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/jer/kevo/pkg/config"
|
||||
"github.com/jeremytregunna/kevo/pkg/config"
|
||||
)
|
||||
|
||||
func createTestConfig() *config.Config {
|
||||
|
Loading…
Reference in New Issue
Block a user