featurebase/dax/controller
Travis Turner 126be915a9
Support for setting individual DatabaseOptions (#2231)
* Implement Schemar.SetDatabaseOption(option, value string)

This replaces the temporary `SetDatabaseOptions()` method, which
replaced the entire DatabaseOptions struct, with `SetDatabaseOption`
which takes an option/value pair of strings to set.

* Add SetDatabaseOption to controller http handler and client

This commit also:
- renames some `writeLog` to `writelog`
- updates ApplyDirective to call resource.Unlock() on any resources
  being removed from the local worker

* Add Database related methods to SchemaAPI interface

Currently all implementations of this interface are implemented with
"unimplemented" errors on those methods. Next will be to implement the
necessary methods.

* SQL: CREATE DATABASE and SHOW DATABASES

* SQL: DROP DATABASE

* SQL: Add UNITS option to CREATE DATABASE

* SQL: ALTER DATABASE

* User serverlessStorage.Remove[*]Resource instead of resource.Unlock()

* Add WITH keyword to CREATE/ALTER DATABASE

* fix some WITH logic

* linter fixes

* WITH on CREATE DATABASE is not required
2023-02-06 08:50:28 -06:00
..
balancer Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
client Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
http Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
partitioner Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
poller Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
schemar Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
service tweak a bunch of logging and config (#2234) 2023-02-03 14:59:07 -06:00
balancer.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
config.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
controller.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
controller_test.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
director.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
errors.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
node.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
node_registerer.go tweak a bunch of logging and config (#2234) 2023-02-03 14:59:07 -06:00
sets.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00
snapping_turtle.go tweak a bunch of logging and config (#2234) 2023-02-03 14:59:07 -06:00
stringers.go Remove MDS and replace it with Controller (#2219) 2023-01-30 16:54:12 -06:00