diff --git a/hugegraph-commons/README.md b/hugegraph-commons/README.md index 4ec2ebb5bb..7162e93137 100644 --- a/hugegraph-commons/README.md +++ b/hugegraph-commons/README.md @@ -13,7 +13,7 @@ numeric or collection util classes to simplify the development of HugeGraph and ## Components -- Lock: atomic lock, key lock, lock group and lock manger +- Lock: atomic lock, key lock, lock group and lock manager - Config: register and load config option with security check - Event: listening and notification, do something asynchronously - Iterator: some iterators with extra functions, map, filter, extend, etc. diff --git a/hugegraph-commons/hugegraph-common/README.md b/hugegraph-commons/hugegraph-common/README.md index 8614ba126b..bfeef03cd2 100644 --- a/hugegraph-commons/hugegraph-common/README.md +++ b/hugegraph-commons/hugegraph-common/README.md @@ -12,7 +12,7 @@ its components. ## Components -- Lock: atomic lock, key lock, lock group and lock manger +- Lock: atomic lock, key lock, lock group and lock manager - Config: register and load config option with security check - Event: listening and notification, do something asynchronously - Iterator: some iterators with extra functions, map, filter, extend, etc. diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java index 834cbb569c..43ad50887d 100644 --- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java +++ b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/auth/RolePermission.java @@ -82,7 +82,7 @@ public static RolePermission role(String graphSpace, String graph, perm.ordinal() >= HugePermission.READ.ordinal()) { role.add(graphSpace, graph, perm, HugeResource.ALL_RES); } else { - // if perm is not read, write, delete or excute, set resources null + // if perm is not read, write, delete or execute, set resources null role.add(graphSpace, graph, perm, null); } return role; diff --git a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java index d8ce73afde..496b8ca9e3 100644 --- a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java +++ b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/memory/arbitrator/MemoryArbitratorImpl.java @@ -55,7 +55,7 @@ public long reclaimGlobally(MemoryPool queryPool, long neededBytes) { if (memoryPool.equals(queryPool)) { continue; } - LOG.info("Global reclaim triggerred by {} select {} to reclaim", queryPool, + LOG.info("Global reclaim triggered by {} select {} to reclaim", queryPool, memoryPool); long res = memoryPool.tryToReclaimLocalMemory(currentNeededBytes, queryPool); totalReclaimedBytes += res;