Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 717E0D699 for ; Fri, 1 Mar 2013 20:41:14 +0000 (UTC) Received: (qmail 19183 invoked by uid 500); 1 Mar 2013 20:41:14 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 19128 invoked by uid 500); 1 Mar 2013 20:41:14 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 19031 invoked by uid 99); 1 Mar 2013 20:41:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 20:41:14 +0000 Date: Fri, 1 Mar 2013 20:41:14 +0000 (UTC) From: "Marios Andreou (JIRA)" To: dev@deltacloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DTACLOUD-498) mock driver doesn't update bucket size when a blob is created MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590916#comment-13590916 ] Marios Andreou commented on DTACLOUD-498: ----------------------------------------- thanks! i had some merge conflicts and resorted to copy/paste after giving up on trying to rebase in a hurry - will push with this fix on monday > mock driver doesn't update bucket size when a blob is created > ------------------------------------------------------------- > > Key: DTACLOUD-498 > URL: https://issues.apache.org/jira/browse/DTACLOUD-498 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Reporter: Jan Provaznik > Assignee: Marios Andreou > Priority: Minor > Attachments: 0001-DTACLOUD-498-nit-in-mock-driver-create-delete-blobs-.patch, 0002-DTACLOUD-498-patch-minor-corrections.patch > > > If I create a blob for a mock driver, then bucket size returns incorrect number of blobs. It's not a big deal but it's annoying because it can happen when running deltacloud client tests (if blob deletion fails). > 127.000.000.001.45166-127.000.000.001.03001: GET /api/buckets/bucket1 HTTP/1.1 > Accept: application/xml > Accept-Encoding: gzip, deflate > Authorization: Basic bW9ja3VzZXI6bW9ja3Bhc3N3b3Jk > User-Agent: Ruby > Host: localhost:3001 > > > 127.000.000.001.03001-127.000.000.001.45166: HTTP/1.1 200 OK > Content-Type: application/xml > X-Backend-Runtime: 0.002238750457763672 > Server: Apache-Deltacloud/1.1.1 > X-Deltacloud-Driver: mock > Content-Length: 505 > ETag: 51560b495bc803adcb213dae216911a7 > Cache-Control: max-age=0, private, must-revalidate > Date: Mon, 25 Feb 2013 13:25:36 GMT > Connection: keep-alive > > > > bucket1 > 3 > > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira