From d056937702c3b4302efb201773f1cd2981800507 Mon Sep 17 00:00:00 2001 From: voddle Date: Fri, 22 Sep 2023 01:48:49 +0800 Subject: [PATCH] Fix typo in ServiceDiscoveryRecipe ### What changes are proposed in this pull request? Fixed a typo ### Why are the changes needed? ### Does this PR introduce any user facing changes? No pr-link: Alluxio/alluxio#18191 change-id: cid-67a503376ed89395ebccd674644394e5bc02522b --- .../main/java/alluxio/membership/ServiceDiscoveryRecipe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dora/core/common/src/main/java/alluxio/membership/ServiceDiscoveryRecipe.java b/dora/core/common/src/main/java/alluxio/membership/ServiceDiscoveryRecipe.java index 2a5ed1e4a213..099d112475a8 100644 --- a/dora/core/common/src/main/java/alluxio/membership/ServiceDiscoveryRecipe.java +++ b/dora/core/common/src/main/java/alluxio/membership/ServiceDiscoveryRecipe.java @@ -81,7 +81,7 @@ public ServiceDiscoveryRecipe(AlluxioEtcdClient client, String pathPrefix) { * given DefaultServiceEntity in atomic fashion. * Atomicity: * creation of given DefaultServiceEntity entry on etcd is handled by etcd transaction - * iff the version = 0 which means when there's no such key present. + * if the version = 0 which means when there's no such key present. * (expired lease will automatically delete the kv attached with it on etcd) * update of the DefaultServiceEntity fields(lease,revision num) is guarded by * lock within DefaultServiceEntity instance.