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

Auto-Detect Running Service #642

Merged
merged 1 commit into from Dec 4, 2016

Conversation

akutz
Copy link
Member

@akutz akutz commented Dec 2, 2016

This patch handles issue #589 so that a REX-Ray client will automatically detect a running libStorage service if it was started by REX-Ray, even via embedded mode. This means that even if the REX-Ray configuration file relies on auto-service mode where a host is not explicitly defined, if a libStorage server is started in this manner, subsequent REX-Ray executions will not start additional servers, instead attaching to the existing service.

@akutz akutz self-assigned this Dec 2, 2016
}
return pidFilePath
}

// SpecFilepath returns the path to the REX-Ray spect file.

Choose a reason for hiding this comment

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

comment on exported function SpecFilePath should be of the form "SpecFilePath ..."

@akutz akutz force-pushed the feature/auto-detect-running-service branch from 8cb65f1 to c8348fb Compare December 2, 2016 21:14
}
return pidFilePath
}

// SpecFilePath returns the path to the REX-Ray spect file.
Copy link
Member

Choose a reason for hiding this comment

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

minor typo in comment. "spect" vs "spec"

@akutz
Copy link
Member Author

akutz commented Dec 3, 2016 via email

@akutz akutz force-pushed the feature/auto-detect-running-service branch 4 times, most recently from 5322db1 to 242c77f Compare December 4, 2016 10:40
@codecov-io
Copy link

codecov-io commented Dec 4, 2016

Current coverage is 8.46% (diff: 13.72%)

Merging #642 into master will decrease coverage by 0.01%

@@            master      #642   diff @@
========================================
  Files           16        16          
  Lines         2087      2126    +39   
  Methods          0         0          
  Messages         0         0          
  Branches         0         0          
========================================
+ Hits           177       180     +3   
- Misses        1906      1942    +36   
  Partials         4         4          

Powered by Codecov. Last update 0902d36...b8ef9e4

@akutz akutz force-pushed the feature/auto-detect-running-service branch 2 times, most recently from e261401 to 660c70e Compare December 4, 2016 18:48
This patch handles issue rexray#589 so that a REX-Ray client will
automatically detect a running libStorage service if it was started by
REX-Ray, even via embedded mode. This means that even if the REX-Ray
configuration file relies on auto-service mode where a host is not
explicitly defined, if a libStorage server is started in this manner,
subsequent REX-Ray executions will not start additional servers, instead
attaching to the existing service.
@akutz akutz force-pushed the feature/auto-detect-running-service branch from 660c70e to b8ef9e4 Compare December 4, 2016 18:54
@akutz akutz changed the title WiP - Auto-Detect Running Service Auto-Detect Running Service Dec 4, 2016
@akutz akutz merged commit 9022c65 into rexray:master Dec 4, 2016
@akutz akutz removed the in progress label Dec 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants