Issue Details (XML | Word | Printable)

Key: SFOS-1150
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Steve Loughran
Reporter: Steve Loughran
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
SmartFrog

Have AbstractTargetedCondition attempt to resolve the target on demand

Created: 19/Mar/09 04:23 PM (GMT)   Updated: 20/Mar/09 04:40 PM (GMT)
Component/s: .sfCore
Affects Version/s: 3.17.010
Fix Version/s: 3.17.010

Time Tracking:
Not Specified

Compatibility: may break builds or test process


 Description  « Hide
Currently the IsAlive() test and the like require the CD to be deployed before they can begin polling it, because they try and resolve the reference on startup.

If instead the resolution was postponed to the condition, the polling operation in a WaitFor operation will even handle slow starting components .

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Steve Loughran added a comment - 19/Mar/09 05:14 PM (GMT)
I've checked this change in, it all works. But tests may fail if they expect a failure to resolve to fail differently. Perhaps I should add a condition resolveTargetOnStartup, which does a check there for backwards compatibiltiy.

Steve Loughran added a comment - 20/Mar/09 04:40 PM (GMT)
done; the hadoop components have picked it up. Resolution is now done early unless declared otherwise; the hadoop checkers are all late binding