Skip to content

Conversation

patriknw
Copy link
Contributor

@patriknw patriknw commented Feb 5, 2020

  • Sharding defines durable.keys in reference.conf
  • That will trigger initialization of LmdbDurableStore for the
    ddata Replicator that is used by Sharding
  • but that is only needed if rememberEntities is enabled
  • This will optimize startup time for ClusterSharding,
    and reduced runtime complexity of accessing file system

Refs #28567

* Sharding defines durable.keys in reference.conf
* That will trigger initialization of LmdbDurableStore for the
  ddata Replicator that is used by Sharding
* but that is only needed if rememberEntities is enabled
* This will optimize startup time for ClusterSharding,
  and reduced runtime complexity of accessing file system
@akka-ci akka-ci added the validating PR is currently being validated by Jenkins label Feb 5, 2020
@patriknw
Copy link
Contributor Author

patriknw commented Feb 5, 2020

I'll run this in a multi-node jenkins job to make sure nothing breaks

@akka-ci akka-ci added tested PR that was successfully built and tested by Jenkins and removed validating PR is currently being validated by Jenkins labels Feb 5, 2020
@akka-ci
Copy link

akka-ci commented Feb 5, 2020

Test PASSed.

Copy link
Contributor

@johanandren johanandren left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@chbatey chbatey left a comment

Choose a reason for hiding this comment

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

Looks good, ready for merge?

@patriknw
Copy link
Contributor Author

yes, multi-node tests were fine

@patriknw patriknw merged commit 6120b73 into master Feb 11, 2020
@patriknw patriknw deleted the wip-sharding-lmdb-patriknw branch February 11, 2020 07:48
zbynek001 added a commit to zbynek001/akka.net that referenced this pull request Mar 24, 2020
zbynek001 added a commit to zbynek001/akka.net that referenced this pull request Mar 26, 2020
Aaronontheweb added a commit to akkadotnet/akka.net that referenced this pull request Mar 27, 2020
* Avoid dead letter for rebalance timeout msg

migrated from akka/akka#28274

* Reconsider cluster.role.<role-name>.min-nr-of-members fallback
migrated from akka/akka#28203

* Use dedicated message for PersistentShardCoodinator termination instead of PoisonPill
migrated from akka/akka#28104

* Don't initialize durable keys when rememberEntities not used
migrated from akka/akka#28568

* Improve error message when coordinator not found
migrated from akka/akka#28576

* Shard region registration to more potential oldest

* Keep track of Leaving and Exiting members in ShardRegion and
  attempt to register to coordinator at several of the oldest if
  they have status Leaving and Exiting. Include all up to and
  including the first member with status Up.
* Sending to wrong node doesn't matter, will be suppressed deadLetter.
* Same for the GracefulShutdownReq which already had that intention by
  sending to 2 oldest.

migrated from akka/akka#28470

* Log non-completed rebalance at warning level
migrated from akka/akka#28335

* api approval fix

* review fixes

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tested PR that was successfully built and tested by Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants