Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3EB50200C45 for ; Tue, 28 Mar 2017 18:05:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D1DC160B9B; Tue, 28 Mar 2017 16:05:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 841FB160B7E for ; Tue, 28 Mar 2017 18:05:45 +0200 (CEST) Received: (qmail 78709 invoked by uid 500); 28 Mar 2017 16:05:44 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 78698 invoked by uid 99); 28 Mar 2017 16:05:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2017 16:05:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F2C581809FE for ; Tue, 28 Mar 2017 16:05:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hGP-J4FICjUm for ; Tue, 28 Mar 2017 16:05:41 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 43FF95F5A2 for ; Tue, 28 Mar 2017 16:05:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v2SG5eAD005381; Tue, 28 Mar 2017 16:05:40 GMT Message-Id: <201703281605.v2SG5eAD005381@ip-10-146-233-104.ec2.internal> Date: Tue, 28 Mar 2017 16:05:39 +0000 From: "Tim Armstrong (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org Reply-To: tarmstrong@cloudera.com X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4114=3A_Port_BufferedBlockMgr_tests_to_buffer_pool=0A?= X-Gerrit-Change-Id: Ifb0221e8bea6f3b23b62d5094634d97562295ea3 X-Gerrit-ChangeURL: X-Gerrit-Commit: b0554c78a2e5503273143a83caea6e4ed1415ec9 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Tue, 28 Mar 2017 16:05:46 -0000 Tim Armstrong has uploaded a new patch set (#2). Change subject: IMPALA-4114: Port BufferedBlockMgr tests to buffer pool ...................................................................... IMPALA-4114: Port BufferedBlockMgr tests to buffer pool BufferedBlockMgr had a number of interesting backend tests that are still relevant to BufferPool. This commit copies them across and adapts them to BufferPool. This should bring the backend test coverage for BufferPool up to par with BufferedBlockMgr. Many tests weren't ported because they are not relevant or would duplicate other tests: * GetNewBlock* -> covered by PageCreation/BufferAllocation * Pin -> covered by Pin * Deletion/DeleteSingleBlocks -> all BufferPool tests cover deletion * Close -> BufferPool doesn't have "cancellation" * TransferBufferDuringWrite -> the API being tested is not present. Some of the deletion tests are the closest analogue. * WriteCompleteWithCancelledRuntimeState -> not relevant, BufferPool doesn't reference RuntimeState. * MultipleClients* -> we have many tests for the (very different) reservation mechanism * ClientOversubscription -> oversubscription is not supported * CreateDestroyMulti -> we don't support creation/destruction of buffer pools like this * AllocationErrorHandling -> redundant with WriteErrorBlacklist Change-Id: Ifb0221e8bea6f3b23b62d5094634d97562295ea3 --- M be/src/runtime/bufferpool/buffer-allocator.h M be/src/runtime/bufferpool/buffer-pool-internal.h M be/src/runtime/bufferpool/buffer-pool-test.cc M be/src/runtime/bufferpool/buffer-pool.cc M be/src/runtime/bufferpool/buffer-pool.h 5 files changed, 819 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/98/6498/2 -- To view, visit http://gerrit.cloudera.org:8080/6498 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ifb0221e8bea6f3b23b62d5094634d97562295ea3 Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong