mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-26 01:48:45 +00:00
Removing the WatchLockService could result in duplication of wids, because of a wrong call to replace underscores with dashes. As UUIDs.createBase64UUID() can contain underscores but they are kind of reserved in the Wid class due to handling of watch ids, this just uses the toString() representation of a random UUID. Closes elastic/elasticsearch#4422 Original commit: elastic/x-pack-elasticsearch@dceb01ae5e