Closed rao-aneesh closed 4 months ago
Hey @rao-aneesh , what issue does it address? I understand your change, but I wonder what problem did you encounter with the existing behaviour?
Hey @akarneliuk, the issue was with master arbitration. The specification states:
In order to update the election ID as soon as a new master is elected, the client is required to send an empty Set RPC (with the election ID only) as soon as it becomes master. The client also carries the election ID in all subsequent Set requests.
Hence, sending an empty request with just an extension is necessary. Sending a request with an empty prefix with no paths leads to an error response.
@akarneliuk, can you review and merge this please?
There was previously no way to specify no prefix block before. This adds support for that. The default value of prefix has been changed to None. To specify an empty prefix, "" must be passed to the function.