featurebase/server
Jason Aten 7fe7ed907f env PILOSA_TXSRC is reinjected into the env if pilosa server --tx overrides it. fixes #575
1. Tests can choose the Tx engine desired by setting the PILOSA_TXSRC
      env variable. For example:

         PILOSA_TXSRC=badger go test -v -run TestImportClearRestart

   2. pilosa server --tx is enabled now.

     Examples:
      pilosa server --tx roaring    # gives the legacy approach.
      pilosa server --tx rbf        # will activate RBF
      pilosa server --tx badger     # will activate BadgerDB
      pilosa server --tx badger_rbf # will run Blue-Green badger to RBF comparisons.

      and so forth. See pilosa server -h or txfactory.go for all valid --tx choices.

   3. Mechanism that makes both tests(1) and pilosa server(2) work at once:
       pilosa/server/server.go injects PILOSA_TXSRC into env to
       communicate with NewIndex in pilosa/index.go.
2020-07-20 17:56:12 -04:00
..
testdata/certs regenerate certs with 100 year expiration, add README 2019-10-22 12:56:57 -05:00
cluster_test.go various cluster test fixups/cleanups 2020-07-20 10:45:59 -05:00
config.go integration of Tx, RoaringTx and BadgerTx implementations. 2020-07-20 15:50:08 -04:00
config_internal_test.go add --advertise-grpc configuration option 2020-07-09 11:17:12 -05:00
config_test.go v2.0.0 2019-10-08 14:56:17 -06:00
default.go Unexport server.DefaultDiagnosticsInterval 2018-07-05 23:11:56 -05:00
dup.go Reduce duplication of setupLogger arch-specific code 2020-04-16 17:08:50 -05:00
dup_arm64.go Reduce duplication of setupLogger arch-specific code 2020-04-16 17:08:50 -05:00
grpc.go fix incorrect validation of query specification in Inspect 2020-07-10 14:35:30 -04:00
grpc_test.go Move grpc_internal_test to grpc_test 2020-05-15 19:52:03 +02:00
handler_test.go integration of Tx, RoaringTx and BadgerTx implementations. 2020-07-20 15:50:08 -04:00
release.go Unexport server.DefaultDiagnosticsInterval (in release tag) 2018-07-05 23:11:57 -05:00
server.go env PILOSA_TXSRC is reinjected into the env if pilosa server --tx overrides it. fixes #575 2020-07-20 17:56:12 -04:00
server_test.go various cluster test fixups/cleanups 2020-07-20 10:45:59 -05:00
tlsconfig.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00