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

Sharding regression test #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions Akka.Cluster.Sharding.Repro.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akka.Cluster.Sharding.Repro.Node", "src\Akka.Cluster.Sharding.Repro.Node\Akka.Cluster.Sharding.Repro.Node.csproj", "{BD72BD80-F184-48C4-90EF-F0F825EB62CA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Lighthouse", "src\Lighthouse\Lighthouse.csproj", "{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Akka.Cluster.Sharding.Repro.Node", "src\Akka.Cluster.Sharding.Repro.Node\Akka.Cluster.Sharding.Repro.Node.csproj", "{BD72BD80-F184-48C4-90EF-F0F825EB62CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -29,18 +27,6 @@ Global
{BD72BD80-F184-48C4-90EF-F0F825EB62CA}.Release|x64.Build.0 = Release|Any CPU
{BD72BD80-F184-48C4-90EF-F0F825EB62CA}.Release|x86.ActiveCfg = Release|Any CPU
{BD72BD80-F184-48C4-90EF-F0F825EB62CA}.Release|x86.Build.0 = Release|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Debug|x64.ActiveCfg = Debug|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Debug|x64.Build.0 = Debug|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Debug|x86.ActiveCfg = Debug|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Debug|x86.Build.0 = Debug|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Release|Any CPU.Build.0 = Release|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Release|x64.ActiveCfg = Release|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Release|x64.Build.0 = Release|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Release|x86.ActiveCfg = Release|Any CPU
{C9CD6B9E-C854-466B-B6C2-72F6B0C1B64F}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
9 changes: 9 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<!--<add key="akka-nightly" value="https://www.myget.org/F/akkadotnet/api/v3/index.json" />-->
<add key="Local" value="F:\NuGet" />
</packageSources>
</configuration>
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
#### 0.2.0 June 26 2019 ####
Testing coordinator failover issues using the Akka.NET v1.4.0-beta1 code.

#### 0.1.0 Feb 27 2019 ####
* First pass.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
MSSQL_PID: Developer

sharding.lighthouse:
image: sharding.lighthouse:latest
image: petabridge/lighthouse:latest
hostname: sharding.lighthouse
ports:
- '9110:9110'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

<ItemGroup>
<PackageReference Include="Akka.Cluster.Sharding" Version="$(AkkaVersion)-beta*" />
<PackageReference Include="Akka.Persistence.SqlServer" Version="1.4.0-beta*" />
<PackageReference Include="Akka.Persistence.SqlServer" Version="$(AkkaVersion)-beta*" />
<PackageReference Include="Petabridge.Cmd.Cluster" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Petabridge.Cmd.Remote" Version="$(PetabridgeCmdVersion)" />
<PackageReference Include="Akka.Cluster.HealthCheck" Version="$(AkkaHealthCheckVersion)" />
<PackageReference Include="Akka.Bootstrap.Docker" Version="$(AkkaBootstrapVersion)" />
<PackageReference Include="Petabridge.Cmd.Cluster.Sharding" Version="$(PetabridgeCmdVersion)-beta" />
Expand Down
2 changes: 2 additions & 0 deletions src/Akka.Cluster.Sharding.Repro.Node/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using Akka.Util;
using Petabridge.Cmd.Cluster;
using Petabridge.Cmd.Cluster.Sharding;
using Petabridge.Cmd.Remote;
using Petabridge.Cmd.Host;

namespace Akka.Cluster.Sharding.Repro.Node
Expand Down Expand Up @@ -61,6 +62,7 @@ static int Main(string[] args)
var pbm = PetabridgeCmd.Get(actorSystem);
pbm.RegisterCommandPalette(ClusterCommands.Instance); // enable cluster management commands
pbm.RegisterCommandPalette(ClusterShardingCommands.Instance); //enable cluster.sharding management commands
pbm.RegisterCommandPalette(RemoteCommands.Instance); // enable Akka.Remote management commands
pbm.Start();

actorSystem.WhenTerminated.Wait();
Expand Down
23 changes: 0 additions & 23 deletions src/Lighthouse/Dockerfile

This file was deleted.

26 changes: 0 additions & 26 deletions src/Lighthouse/Lighthouse.csproj

This file was deleted.

79 changes: 0 additions & 79 deletions src/Lighthouse/LighthouseHostFactory.cs

This file was deleted.

45 changes: 0 additions & 45 deletions src/Lighthouse/LighthouseService.cs

This file was deleted.

26 changes: 0 additions & 26 deletions src/Lighthouse/Program.NetCore.cs

This file was deleted.

39 changes: 0 additions & 39 deletions src/Lighthouse/akka.hocon

This file was deleted.

8 changes: 4 additions & 4 deletions src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<PropertyGroup>
<Copyright>Copyright © 2015-2019 Petabridge, LLC</Copyright>
<Authors>Petabridge</Authors>
<VersionPrefix>0.1.0</VersionPrefix>
<PackageReleaseNotes>First pass.</PackageReleaseNotes>
<VersionPrefix>0.2.0</VersionPrefix>
<PackageReleaseNotes>Testing coordinator failover issues using the Akka.NET v1.4.0-beta1 code.</PackageReleaseNotes>
<PackageIconUrl>
</PackageIconUrl>
<PackageProjectUrl>
Expand All @@ -14,10 +14,10 @@
</PropertyGroup>
<PropertyGroup>
<XunitVersion>2.4.1</XunitVersion>
<AkkaVersion>1.3.13</AkkaVersion>
<AkkaVersion>1.4.0</AkkaVersion>
<AkkaBootstrapVersion>0.2.0</AkkaBootstrapVersion>
<AkkaHealthCheckVersion>0.1.0</AkkaHealthCheckVersion>
<PetabridgeCmdVersion>0.5.0</PetabridgeCmdVersion>
<PetabridgeCmdVersion>0.6.2</PetabridgeCmdVersion>
<NetCoreVersion>netcoreapp2.1</NetCoreVersion>
</PropertyGroup>
</Project>