Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of UDP retention policy #4262

Merged
merged 1 commit into from
Sep 28, 2015
Merged

Allow configuration of UDP retention policy #4262

merged 1 commit into from
Sep 28, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Sep 28, 2015

Fixes issue #4529

@otoolep
Copy link
Contributor Author

otoolep commented Sep 28, 2015

@corylanou @dgnorton

@@ -106,7 +106,7 @@ func (s *Service) writePoints() {
case batch := <-s.batcher.Out():
if err := s.PointsWriter.WritePoints(&cluster.WritePointsRequest{
Database: s.config.Database,
RetentionPolicy: "",
RetentionPolicy: s.config.RetentionPolicy,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have to specify it in the config? If you don't, will it default to the default one created?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, because "" means use default. This is what happens now, but you have no choice but to accept "" in the code.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I see it. Thx.

@corylanou
Copy link
Contributor

+1

otoolep added a commit that referenced this pull request Sep 28, 2015
Allow configuration of UDP retention policy
@otoolep otoolep merged commit c5a82e0 into master Sep 28, 2015
@otoolep otoolep deleted the udp_rp branch September 28, 2015 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants