featurebase/server
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
..
testdata/certs Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
cluster_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
config.go tweak a bunch of logging and config (#2234) 2023-02-03 14:59:07 -06:00
config_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
config_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
dup.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
dup_arm64.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
grpc.go Stop using string keys in contexts 2023-01-23 10:24:52 -07:00
grpc_internal_test.go Dataframe (#2241) 2022-12-12 09:01:20 -08:00
grpc_test.go Stop using string keys in contexts 2022-11-15 11:32:03 -08:00
handler_test.go introduce performance counters and system table fanout, plus refactor metrics (#2363) 2023-01-19 21:35:02 +00:00
server.go Support for setting individual DatabaseOptions (#2231) 2023-02-06 08:50:28 -06:00
server_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
server_test.go tweak a bunch of logging and config (#2234) 2023-02-03 14:59:07 -06:00
sql.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
tlsconfig.go fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
tlsconfig_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
trial.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00