-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement detection of redundant launcher execution #89
Implement detection of redundant launcher execution #89
Conversation
…edundant launcher execution. Implement LauncherRemote. Setup launcher as controller again and start controller service.
…plement launcher test.
...ion/mqtttest/src/main/kotlin/org/openbase/jul/communication/mqtt/test/MqttIntegrationTest.kt
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks good overall, but it definitely needs a unit test and/or testing in a live system. With this PR, simply launching bco-test
fails on my machine while it works on the dev branch.
module/pattern/launch/src/main/java/org/openbase/jul/pattern/launch/AbstractLauncher.java
Outdated
Show resolved
Hide resolved
module/pattern/launch/src/main/java/org/openbase/jul/pattern/launch/AbstractLauncher.java
Outdated
Show resolved
Hide resolved
module/pattern/launch/src/main/java/org/openbase/jul/pattern/launch/AbstractLauncher.java
Outdated
Show resolved
Hide resolved
…aunch/AbstractLauncher.java Co-authored-by: pLeminoq <[email protected]>
…aunch/AbstractLauncher.java Co-authored-by: pLeminoq <[email protected]>
…ing isBooting to isLauching and interruptBoot to interruptLaunch.
I have no issues running |
I just re-checked and it somewhat works. The startup behavior changed for me, with many warnings being displayed on startup:
Still it will launch and launching a second |
I do not have the same startup / shutdown issues, however I could reproduce a deadlock within the shutdown routine that I will address next. |
…. Make sure CloseableReadLockWrapper and CloseableWriteLockWrapper are always following an interruptible locking strategy.
Deadlock has been fixed. |
Your show output is not related to this PR since none of the new shutdown messages are included. It seems like bco still builds again the dev version of |
📜 Description
AbstractLauncher
as requested in the pr by renamingisBooting
toisLauching
andinterruptBoot
tointerruptLaunch
.Note
AbstractLauncher
class. Idea did this in background and I detected the changes to late to fully revert them.