featurebase/ctl
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
..
check.go v2.0.0 2019-10-08 14:56:17 -06:00
check_test.go generalize test strings and break out old UnmarshalBinary code 2019-08-05 17:39:47 -05:00
common.go v2.0.0 2019-10-08 14:56:17 -06:00
config.go v2.0.0 2019-10-08 14:56:17 -06:00
config_test.go v2.0.0 2019-10-08 14:56:17 -06:00
doc.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
export.go v2.0.0 2019-10-08 14:56:17 -06:00
export_test.go v2.0.0 2019-10-08 14:56:17 -06:00
generate_config.go v2.0.0 2019-10-08 14:56:17 -06:00
generate_config_test.go so much lint 2019-04-16 12:07:18 -05:00
import.go Revert "back out the pql.Decimal changes" 2020-04-01 17:46:46 -05:00
import_test.go fix replication errors & test races 2020-01-08 09:47:43 -07:00
inspect.go shared/generic functionality for iterating holders 2020-06-29 15:18:47 -04:00
inspect_test.go improve inspect output, switch roaring over to using new unmarshal 2020-06-29 15:13:47 -04: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 v2.0.0 2019-10-08 14:56:17 -06:00