Get rid of reduntant ShardRegistry::init function

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding 2020-11-02, Sharding 2020-11-16
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ShardRegistry is the only component living on the Grid that requires an additional initializing procedure after its creation. My claim is that this initializing procedure can be perform directly in the constructor. This will allow to simplify the logic of the ShardRegistry because it will eliminate one of its possible states:

      1. Created
      2. Initialized
      3. Up
      4. Shutdown
      5. Destructed

      The shardRegistry creation happen respectively:

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: