Skip to content

Commit

Permalink
Merge pull request #27 from microsoft/TimeoutRepairCompleteRepairTask…
Browse files Browse the repository at this point in the history
…Issue

Timeout repair complete repair task issue
  • Loading branch information
khandelwalbrijesh authored Jun 14, 2019
2 parents db5a1ef + 718b98e commit 7dedde6
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ServiceManifest Name="CoordinatorServicePkg"
Version="1.4.0"
Version="1.4.1"
xmlns="http://schemas.microsoft.com/2011/01/fabric"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Expand All @@ -11,7 +11,7 @@
</ServiceTypes>

<!-- Code package is your service executable. -->
<CodePackage Name="Code" Version="1.4.0">
<CodePackage Name="Code" Version="1.4.1">
<EntryPoint>
<ExeHost>
<Program>CoordinatorService.exe</Program>
Expand All @@ -21,7 +21,7 @@

<!-- Config package is the contents of the Config directoy under PackageRoot that contains an
independently-updateable and versioned set of custom configuration settings for your service. -->
<ConfigPackage Name="Config" Version="1.4.0" />
<ConfigPackage Name="Config" Version="1.4.1" />

<Resources>
<Endpoints>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,8 @@ internal async Task TimeoutRepairTasks(CancellationToken cancellationToken)
if (!nodeExists)
{
// If node does not exist now, there is no point in waiting on the task.
await UpdateRepairTaskState(task, nodeName, RepairTaskState.Completed, executorData.ExecutorTimeoutInMinutes, cancellationToken, nodeExists);
ServiceEventSource.Current.VerboseMessage("Cancelling repair task {0} which is in {1} state as the node {2} does not exist anymore.", task.TaskId, task.State, nodeName);
await this.CancelRepairTask(task);
continue;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ServiceManifest Name="NodeAgentServicePkg"
Version="1.4.0"
Version="1.4.1"
xmlns="http://schemas.microsoft.com/2011/01/fabric"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Expand All @@ -11,7 +11,7 @@
</ServiceTypes>

<!-- Code package is your service executable. -->
<CodePackage Name="Code" Version="1.4.0">
<CodePackage Name="Code" Version="1.4.1">
<SetupEntryPoint>
<ExeHost>
<Program>SetupEntryPoint.bat</Program>
Expand All @@ -27,7 +27,7 @@

<!-- Config package is the contents of the Config directoy under PackageRoot that contains an
independently-updateable and versioned set of custom configuration settings for your service. -->
<ConfigPackage Name="Config" Version="1.4.0" />
<ConfigPackage Name="Config" Version="1.4.1" />

<Resources>
<Endpoints>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ApplicationManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName="PatchOrchestrationApplicationType" ApplicationTypeVersion="1.4.0" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<ApplicationManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName="PatchOrchestrationApplicationType" ApplicationTypeVersion="1.4.1" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<Parameters>
<Parameter Name="CoordinatorService_MinReplicaSetSize" DefaultValue="3" />
<Parameter Name="CoordinatorService_TargetReplicaSetSize" DefaultValue="3" />
Expand Down Expand Up @@ -49,7 +49,7 @@
should match the Name and Version attributes of the ServiceManifest element defined in the
ServiceManifest.xml file. -->
<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName="CoordinatorServicePkg" ServiceManifestVersion="1.4.0" />
<ServiceManifestRef ServiceManifestName="CoordinatorServicePkg" ServiceManifestVersion="1.4.1" />
<ConfigOverrides>
<ConfigOverride Name="Config">
<Settings>
Expand All @@ -62,7 +62,7 @@
</ConfigOverrides>
</ServiceManifestImport>
<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName="NodeAgentServicePkg" ServiceManifestVersion="1.4.0" />
<ServiceManifestRef ServiceManifestName="NodeAgentServicePkg" ServiceManifestVersion="1.4.1" />
<ConfigOverrides>
<ConfigOverride Name="Config">
<Settings>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PropertyGroup Label="Configuration">
<Id>ServiceFabric.PatchOrchestrationApplication</Id>
<Title>ServiceFabric.PatchOrchestrationApplication</Title>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
<Authors>brkhande;raunakp</Authors>
<Owners>brkhande;raunakp</Owners>
<Description>This package contains Service Fabric Patch Orchestration Application.</Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Param
$ImageStoreConnectionString = "fabric:ImageStore",

[string]
$ApplicationVersion = "1.4.0",
$ApplicationVersion = "1.4.1",

[hashtable]
$ApplicationParameters = @{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Param
$ImageStoreConnectionString = "fabric:ImageStore",

[string]
$ApplicationVersion = "1.4.0"
$ApplicationVersion = "1.4.1"
)

Remove-ServiceFabricApplication -ApplicationName fabric:/PatchOrchestrationApplication -Force
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Param
$ImageStoreConnectionString = "fabric:ImageStore",

[string]
$ApplicationVersion = "1.4.0",
$ApplicationVersion = "1.4.1",

[hashtable]
$ApplicationParameters = @{},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class TelemetryEvents
// Every time a new version of application would be release, manually update this version.
// This application version is used for telemetry
// For consistency keep this applicaiton version same as application version from application manifest.
private const string ApplicationVersion = "1.4.0";
private const string ApplicationVersion = "1.4.1";

public TelemetryEvents(FabricClient fabricClient, ITelemetryEventSource eventSource)
{
Expand Down

0 comments on commit 7dedde6

Please sign in to comment.