This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a change to branch HBASE-28028 in repository https://gitbox.apache.org/repos/asf/hbase.git
omit d323a90c988 fix spotless omit 5e5c210bf85 HBASE-28028 Read all compressed bytes to a byte array before submitting them to decompressor add 8ccb910fa93 HBASE-27947 RegionServer OOM when outbound channel backed up (#5350) add dae078e5bc3 HBASE-28025 Enhance ByteBufferUtils.findCommonPrefix to compare 8 bytes each time (#5354) add 3f2e6555773 HBASE-28032 Fix ChaosMonkey documentation code block rendering (#5359) add d309e99f0ab HBASE-27966 HBase Master/RS JVM metrics populated incorrectly (#5323) add 94ed6add066 HBASE-28004 Persistent cache map can get corrupt if crash happens midway through the write (#5341) add 89ca7f4ade8 HBASE-28010 Connection attributes can become corrupted on the server side (#5366) new 191da106666 HBASE-28028 Read all compressed bytes to a byte array before submitting them to decompressor This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (d323a90c988) \ N -- N -- N refs/heads/HBASE-28028 (191da106666) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apache/hadoop/hbase/util/ByteBufferUtils.java | 185 +++++++++++++++--- .../java/org/apache/hadoop/hbase/util/Bytes.java | 107 ++++++++++- .../apache/hadoop/hbase/util/NettyUnsafeUtils.java | 61 ++++++ .../hadoop/hbase/util/TestByteBufferUtils.java | 31 +++ .../org/apache/hadoop/hbase/util/TestBytes.java | 43 +++++ .../hadoop/hbase/ipc/MetricsHBaseServerSource.java | 16 ++ .../hbase/ipc/MetricsHBaseServerSourceImpl.java | 24 +++ .../hbase/ipc/MetricsHBaseServerWrapper.java | 7 + .../main/protobuf/server/io/BucketCacheEntry.proto | 3 + .../java/org/apache/hadoop/hbase/io/MetricsIO.java | 21 +- .../apache/hadoop/hbase/io/hfile/CacheConfig.java | 2 - .../org/apache/hadoop/hbase/io/hfile/HFile.java | 10 +- .../hadoop/hbase/io/hfile/HFilePreadReader.java | 41 +++- .../hadoop/hbase/io/hfile/PrefetchExecutor.java | 89 +-------- .../hadoop/hbase/io/hfile/bucket/BucketCache.java | 167 ++++++++++++---- .../hadoop/hbase/io/hfile/bucket/BucketEntry.java | 28 ++- .../hbase/io/hfile/bucket/BucketProtoUtils.java | 10 +- .../hadoop/hbase/io/hfile/bucket/FileIOEngine.java | 37 +++- .../hadoop/hbase/ipc/MetricsHBaseServer.java | 8 + .../hbase/ipc/MetricsHBaseServerWrapperImpl.java | 13 ++ .../apache/hadoop/hbase/ipc/NettyRpcServer.java | 161 +++++++++++++++- .../NettyRpcServerChannelWritabilityHandler.java | 125 ++++++++++++ .../hbase/ipc/NettyRpcServerPreambleHandler.java | 11 +- .../apache/hadoop/hbase/ipc/NettyServerCall.java | 2 +- .../java/org/apache/hadoop/hbase/ipc/RpcCall.java | 16 +- .../org/apache/hadoop/hbase/ipc/ServerCall.java | 27 ++- .../hadoop/hbase/ipc/ServerRpcConnection.java | 18 ++ .../hbase/regionserver/wal/CompressionContext.java | 5 +- ...LDecompressionBoundedDelegatingInputStream.java | 7 +- .../client/TestRequestAndConnectionAttributes.java | 38 ++-- .../hfile/TestBlockEvictionOnRegionMovement.java | 1 - .../hadoop/hbase/io/hfile/TestPrefetchRSClose.java | 4 - .../io/hfile/TestPrefetchWithBucketCache.java | 211 +++++++++++++++++++++ .../hbase/io/hfile/bucket/TestBucketCache.java | 84 +++++--- .../io/hfile/bucket/TestBucketCachePersister.java | 9 +- .../io/hfile/bucket/TestByteBufferIOEngine.java | 2 +- .../io/hfile/bucket/TestPrefetchPersistence.java | 9 +- .../hadoop/hbase/io/hfile/bucket/TestRAMCache.java | 2 +- .../io/hfile/bucket/TestVerifyBucketCacheFile.java | 102 ++++++++-- .../hadoop/hbase/ipc/FailingNettyRpcServer.java | 9 +- .../hbase/ipc/MetricsHBaseServerWrapperStub.java | 7 + .../hbase/ipc/TestNettyChannelWritability.java | 182 ++++++++++++++++++ .../apache/hadoop/hbase/ipc/TestRpcMetrics.java | 9 + .../hbase/ipc/TestRpcSkipInitialSaslHandshake.java | 28 +-- .../hbase/namequeues/TestNamedQueueRecorder.java | 8 +- .../store/region/TestRegionProcedureStore.java | 8 +- .../hadoop/hbase/regionserver/TestMetricsJvm.java | 113 +++++++++++ src/main/asciidoc/_chapters/developer.adoc | 40 +++- 48 files changed, 1812 insertions(+), 329 deletions(-) create mode 100644 hbase-common/src/main/java/org/apache/hadoop/hbase/util/NettyUnsafeUtils.java create mode 100644 hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServerChannelWritabilityHandler.java create mode 100644 hbase-server/src/test/java/org/apache/hadoop/hbase/io/hfile/TestPrefetchWithBucketCache.java create mode 100644 hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestNettyChannelWritability.java create mode 100644 hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsJvm.java