We should reference the OverseerElectionContext.PATH constant instead of using it's string equivalent form.
Patch which does the following:
All tests pass. I'll commit this soon if there aren't any objections.
Commit 1714841 from Varun Thacker in branch 'dev/trunk'
[ https://svn.apache.org/r1714841 ]
SOLR-8300: Use constants for the /overseer_elect znode
Commit 1714847 from Varun Thacker in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1714847 ]
SOLR-8300: Use constants for the /overseer_elect znode(merged trunk r1714841)
Re-opening it to add Trunk to the Fix Versions list since this had been committed to trunk too