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. |
||
---|---|---|
.. | ||
meta.pb.go | ||
meta.proto |