influxdb/services/meta/internal
Jonathan A. Sternberg 23da067593 Fix meta.Client CreateDatabaseWithRetentionPolicy RPC command
Previously, meta.Client would drop the default retention policy when
trying to create a database with a retention policy. The RPC has now
been modified to include the desired retention policy in the
CreateDatabase command and have it use that retention policy information
instead of the default configuration when provided.

This also lowers the number of RPC calls for
CreateDatabaseWithRetentionPolicy to only a single RPC call instead of
two.

Protections have also been included so creating a retention policy with
different parameters will return an error similar to if you tried to
modify the retention policy separately.

Fixes #5696.
2016-02-16 16:21:26 -05:00
..
meta.pb.go Fix meta.Client CreateDatabaseWithRetentionPolicy RPC command 2016-02-16 16:21:26 -05:00
meta.proto Fix meta.Client CreateDatabaseWithRetentionPolicy RPC command 2016-02-16 16:21:26 -05:00