mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
change default backend to RBF, remove separate RBF race target
This commit is contained in:
parent
34e742d9c6
commit
52a0c90cd6
3 changed files with 3 additions and 5 deletions
|
|
@ -218,7 +218,7 @@ workflows:
|
|||
- setup
|
||||
matrix:
|
||||
parameters:
|
||||
test_make_target: ["test-race", "test-txstore-rbf", "test-txstore-rbf_bolt"]
|
||||
test_make_target: ["test-race", "test-txstore-rbf_bolt"]
|
||||
- test:
|
||||
name: test-shardwidth-22
|
||||
shard_width: "22"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const (
|
|||
|
||||
// DefaultBackend is set here. pilosa/server/config.go references it
|
||||
// to set the default for pilosa server exeutable.
|
||||
const DefaultBackend = RoaringBackend
|
||||
const DefaultBackend = RBFBackend
|
||||
|
||||
// Config represents configuration which applies to multiple storage engines.
|
||||
type Config struct {
|
||||
|
|
|
|||
|
|
@ -61,9 +61,7 @@ func queryBalances(m0api *pilosa.API, acctOwnerID uint64, fldAcct0, fldAcct1, in
|
|||
|
||||
func skipForRoaring(t *testing.T) {
|
||||
src := pilosa.CurrentBackend()
|
||||
// once txfactory.go storage.DefaultBackend != RoaringTxn, this
|
||||
// will break, of course. Take out the src == "" below.
|
||||
if (src == "" && storage.DefaultBackend == pilosa.RoaringTxn) || strings.Contains(src, "roaring") {
|
||||
if (storage.DefaultBackend == pilosa.RoaringTxn) || strings.Contains(src, "roaring") {
|
||||
t.Skip("skip if roaring pseudo-txn involved -- won't show transactional rollback")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue