influxdb/services/meta
Jonathan A. Sternberg 530b00bd76 Use defaults from `meta` package for `CREATE DATABASE`
Instead of having the parser set the defaults, the command will set the
defaults so that the constants for that are actually used. This way we
can also identify which things the user provided and which ones we are
filling with default values.

This allows the meta client to be able to make smarter decisions when
determining if the user requested a conflict or if the requested
capabilities match with what is currently available. If you just say
`CREATE DATABASE WITH NAME myrp`, the user doesn't really care what the
duration of the retention policy is and just wants to use the default.
Now, we can use that information to determine if an existing retention
policy would conflict with what the user requested rather than returning
an error if a default value ever gets changed since the meta client
command can communicate intent more easily.
2016-08-09 12:00:06 -05:00
..
internal Use defaults from `meta` package for `CREATE DATABASE` 2016-08-09 12:00:06 -05:00
client.go Use defaults from `meta` package for `CREATE DATABASE` 2016-08-09 12:00:06 -05:00
client_test.go Use defaults from `meta` package for `CREATE DATABASE` 2016-08-09 12:00:06 -05:00
config.go fix #7081: hardcode auto gen RP name 2016-07-27 16:49:46 -04:00
config_test.go in memory meta, single node configs, etc. 2016-03-14 16:55:54 +00:00
data.go Use defaults from `meta` package for `CREATE DATABASE` 2016-08-09 12:00:06 -05:00
data_test.go make work with p-meta 2016-03-14 16:55:54 +00:00
errors.go Use defaults from `meta` package for `CREATE DATABASE` 2016-08-09 12:00:06 -05:00
file_unix.go Add platform specific override for file rename. 2016-03-18 21:45:29 +05:30
file_windows.go Remove redundant windows build tags 2016-05-03 14:22:02 +01:00
meta_test.go Update authentication cache to work for clusters 2016-02-12 07:16:57 -05:00
query_authorizer.go fix #6702: return correct required privileges 2016-05-23 16:44:23 -04:00
write_authorizer.go add WriteAuthorizer interface 2016-04-19 00:03:57 -04:00