Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      Read/Write shard’s (at the Slice level) state to ZK. Make sure that the state is watched and available on nodes.
      Also, check state of shard at read/write points where required.

      1. SOLR-4415.patch
        4 kB
        Anshum Gupta
      2. SOLR-4415-withTests.patch
        16 kB
        Anshum Gupta

        Activity

        Hide
        Anshum Gupta added a comment -

        Without Unit tests for now but would add those soon.

        Show
        Anshum Gupta added a comment - Without Unit tests for now but would add those soon.
        Hide
        Anshum Gupta added a comment -

        The patch with a few edits and 2 tests:
        Tests:
        SliceStateTest.java - Confirm the default state of a Slice is set to 'active'.
        SliceStateUpdateTest.java - Use 2 cores, update a Slice to inactive state and check on another core for the update to show up.

        Show
        Anshum Gupta added a comment - The patch with a few edits and 2 tests: Tests: SliceStateTest.java - Confirm the default state of a Slice is set to 'active'. SliceStateUpdateTest.java - Use 2 cores, update a Slice to inactive state and check on another core for the update to show up.
        Hide
        Commit Tag Bot added a comment -

        [branch_4x commit] Shalin Shekhar Mangar
        http://svn.apache.org/viewvc?view=revision&revision=1447342

        SOLR-4415: Add 'state' to shards (default to 'active') and read/write them to ZooKeeper (Fixed issue number in change log)

        Show
        Commit Tag Bot added a comment - [branch_4x commit] Shalin Shekhar Mangar http://svn.apache.org/viewvc?view=revision&revision=1447342 SOLR-4415 : Add 'state' to shards (default to 'active') and read/write them to ZooKeeper (Fixed issue number in change log)
        Hide
        Commit Tag Bot added a comment -

        [trunk commit] Shalin Shekhar Mangar
        http://svn.apache.org/viewvc?view=revision&revision=1447341

        SOLR-4415: Add 'state' to shards (default to 'active') and read/write them to ZooKeeper (Fixed issue number in change log)

        Show
        Commit Tag Bot added a comment - [trunk commit] Shalin Shekhar Mangar http://svn.apache.org/viewvc?view=revision&revision=1447341 SOLR-4415 : Add 'state' to shards (default to 'active') and read/write them to ZooKeeper (Fixed issue number in change log)
        Hide
        Anshum Gupta added a comment -

        Patch committed.

        Show
        Anshum Gupta added a comment - Patch committed.

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Anshum Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development