get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/1529162/
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1529162,
    "url": "http://patchwork.ozlabs.org/api/patches/1529162/",
    "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20210917030538.9773-1-zhewang@nvidia.com/",
    "project": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/projects/68/",
        "name": "Open Virtual Network development",
        "link_name": "ovn",
        "list_id": "ovs-dev.openvswitch.org",
        "list_email": "ovs-dev@openvswitch.org",
        "web_url": "http://openvswitch.org/",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20210917030538.9773-1-zhewang@nvidia.com>",
    "list_archive_url": null,
    "date": "2021-09-17T03:05:37",
    "name": "[ovs-dev,1/2] Revert \"northd: Don't poll ovsdb before the connection is fully established\"",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "3606fd8c31def435e7d58035b2fb81dcee732d09",
    "submitter": {
        "id": 78803,
        "url": "http://patchwork.ozlabs.org/api/people/78803/",
        "name": "Zhen Wang",
        "email": "zhewang@nvidia.com"
    },
    "delegate": {
        "id": 58412,
        "url": "http://patchwork.ozlabs.org/api/users/58412/",
        "username": "zhouhan",
        "first_name": "Han",
        "last_name": "Zhou",
        "email": "zhouhan@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20210917030538.9773-1-zhewang@nvidia.com/mbox/",
    "series": [
        {
            "id": 262733,
            "url": "http://patchwork.ozlabs.org/api/series/262733/",
            "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=262733",
            "date": "2021-09-17T03:05:37",
            "name": "[ovs-dev,1/2] Revert \"northd: Don't poll ovsdb before the connection is fully established\"",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/262733/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1529162/comments/",
    "check": "fail",
    "checks": "http://patchwork.ozlabs.org/api/patches/1529162/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ovs-dev-bounces@openvswitch.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "dev@openvswitch.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "ovs-dev@lists.linuxfoundation.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256\n header.s=selector2 header.b=MTz/JJUt;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>)",
            "smtp4.osuosl.org (amavisd-new);\n dkim=pass (2048-bit key) header.d=nvidia.com"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4H9f346Yxdz9sSs\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Sep 2021 13:05:35 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id B0C8660AC1;\n\tFri, 17 Sep 2021 03:05:28 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n\tby localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id wGsqtFctoP_9; Fri, 17 Sep 2021 03:05:27 +0000 (UTC)",
            "from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp3.osuosl.org (Postfix) with ESMTPS id ED775607D1;\n\tFri, 17 Sep 2021 03:05:26 +0000 (UTC)",
            "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id BD955C000F;\n\tFri, 17 Sep 2021 03:05:26 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id B8B51C000D\n for <dev@openvswitch.org>; Fri, 17 Sep 2021 03:05:24 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id A7EE24157E\n for <dev@openvswitch.org>; Fri, 17 Sep 2021 03:05:24 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id UwjN9id3i6fB for <dev@openvswitch.org>;\n Fri, 17 Sep 2021 03:05:23 +0000 (UTC)",
            "from NAM04-BN8-obe.outbound.protection.outlook.com\n (mail-bn8nam08on2085.outbound.protection.outlook.com [40.107.100.85])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 70EDD4157C\n for <dev@openvswitch.org>; Fri, 17 Sep 2021 03:05:23 +0000 (UTC)",
            "from DM6PR02CA0116.namprd02.prod.outlook.com (2603:10b6:5:1b4::18)\n by CH2PR12MB5516.namprd12.prod.outlook.com (2603:10b6:610:6b::23) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Fri, 17 Sep\n 2021 03:05:20 +0000",
            "from DM6NAM11FT038.eop-nam11.prod.protection.outlook.com\n (2603:10b6:5:1b4:cafe::16) by DM6PR02CA0116.outlook.office365.com\n (2603:10b6:5:1b4::18) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend\n Transport; Fri, 17 Sep 2021 03:05:20 +0000",
            "from mail.nvidia.com (216.228.112.35) by\n DM6NAM11FT038.mail.protection.outlook.com (10.13.173.137) with Microsoft SMTP\n Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id\n 15.20.4523.14 via Frontend Transport; Fri, 17 Sep 2021 03:05:18 +0000",
            "from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL111.nvidia.com\n (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 17 Sep\n 2021 03:05:17 +0000",
            "from winson-X299-A.nvidia.com (172.20.187.5) by\n DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id\n 15.0.1497.18; Fri, 17 Sep 2021 03:05:16 +0000"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "whitelisted by SQLgrey-1.8.0",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=GUct7T8P+M9iz/TtaymyAz1sTnSUxGCbVJIG9uw/ylfwc/RCiC+5qPpbhtGIY/Jx8d+gecjWqgwRhcUZ3m/pegctY89Y5myGcRxuiSgA1vIwFGSkGSODEHFN8n74Lkt1fkDrIsUCR9vFJwe7r88Q0x0CUqRW9Cc3OUlf+4hlzoNiq1ox79qEhIvBga4UjV93EVVt56RAOgPmJIAvem0Tyc0w6e7WF6tvzbNh5m/23YQ04kaLU5Q1dedK1N/QsjN5lSvZLsWcjombYD3Yx5CYJKnI8vMduu0awAFJSnFmkAioCdlT/Yza3axyQ7/MiFVB0QswXkT5BPGIhBklsO+n+g==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n bh=rBlLo8kpSQ3LD4NFGS1sdop7UN02YGkfVKD3RfcjsSM=;\n b=VD8aePY8VUGygMCQ1Xan5BwGqoq3HeHkni7hiwjsgbY/yLsMgsY7LbEbw9346TYkBapzf9aC0QXA+buaNYTMDhEEqG3EG2wr8+1LTzgkUWTUOo9Q558cel2V0JRz7Ss+xJf9vKKtqXE69urNTp/pEqpfCtfAMzi87lQgfbMKSZImc4HYpi+iGTmcZT2vcCLc/HyrHk3J1EL0nO1M97eYfJfobjZOQmNlfeDjoL/v8xLgUQArnUoZA6AmPtI5S/HDyJE9KcOWgSVW6JzlVLl4bxG9EHWqcBJQikC2FtE6ZN5o3+zT0V6ZXEsakfQfNXFB/R6c7y6Sw4uCu0J1b6MPLA==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 216.228.112.35) smtp.rcpttodomain=openvswitch.org smtp.mailfrom=nvidia.com;\n dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com;\n dkim=none (message not signed); arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com;\n s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=rBlLo8kpSQ3LD4NFGS1sdop7UN02YGkfVKD3RfcjsSM=;\n b=MTz/JJUtA1ySid+cltlNK95kJCBMDFAeCbMPdVuTyM09G970VviomK/OukGMgjvOaK9ylIunmXoMt34YA8T2CAsXDxmYHm54KY4FiloYgROimZSc2OToN4vNh0wBY9IUbOdd4OoDo8sJKlJsUshu/DgH909R8jLfQFYrkAtPoq3WQpUspU95QuzuhZT8VrvrCkBcJJ6qiUiLlNXohQeHS6mPGgO5hDEk/lyhM3UsNHy1T96z1Sdgw+LKaDJkC9zoyIVFLzleFm51rtTXJcP91z8zThUBgPLwc4AWjydekIu2eeG18KTNQWhY/HiXBEPzlu35/mkjD9ZaRl7WPYX96w==",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 216.228.112.35)\n smtp.mailfrom=nvidia.com; openvswitch.org; dkim=none (message not signed)\n header.d=none; openvswitch.org;\n dmarc=pass action=none header.from=nvidia.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of nvidia.com designates\n 216.228.112.35 as permitted sender) receiver=protection.outlook.com;\n client-ip=216.228.112.35; helo=mail.nvidia.com;",
        "To": "<dev@openvswitch.org>",
        "Date": "Thu, 16 Sep 2021 20:05:37 -0700",
        "Message-ID": "<20210917030538.9773-1-zhewang@nvidia.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[172.20.187.5]",
        "X-ClientProxiedBy": "HQMAIL107.nvidia.com (172.20.187.13) To\n DRHQMAIL107.nvidia.com (10.27.9.16)",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "a47320f1-28b6-434c-aa05-08d97987fb1f",
        "X-MS-TrafficTypeDiagnostic": "CH2PR12MB5516:",
        "X-Microsoft-Antispam-PRVS": "\n <CH2PR12MB5516A4D125FF523D27BE8E9DC0DD9@CH2PR12MB5516.namprd12.prod.outlook.com>",
        "X-MS-Oob-TLC-OOBClassifiers": "OLM:2887;",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;",
        "X-Microsoft-Antispam-Message-Info": "\n Z3DprzuNGmyBdUt8/zs85FF0aGgiQ5Wcyrf2gFSa24hl7UtM3U+jjJQknIDfH9uRC1/QhVCYiasbVwV231BcPJ8+orcewlpyDbBvHzJxFdKYiilTvMzNhYN3t0hu0FNSylc+YJyeiJ0xcGucUK/VbuGmxGT9Vb2ANcmqwQJjoVtnAYFmoX4rq9Yd9aLs1V1rR1DwwDWZbUMxw8Q/Xwmtu6Zae7BvfTjnwYgKVd3J3gzXzoi/s6a3m7R1E+D0bxU6vEvLSh7ZzZvYqFqYYHaVckc7n0fqfCjHMGM5dqrQVai/sx5xyJa85L7YVIGFOR9hqGB5UrosBqb8XRfjGx+QHJtygEOKDlqcJJSVh9MIw7rkHTKPt6vsL/pHWw2KnFXdOpZYJMGAa17/XkByCRZaLgBrySFFrCjeWIDixlR0sajEv6gttveGLj2IyrxjSiw8dixWQirXfBmTkd857+4SJ+o0BRg6f1VftBHSQbDxOx4+zQj4T+WYGK70N5IHdLrgPE2m3P2Rzvx6BK61hsMICXdkFIXKk1whWNul8AfJ9zHVRZXIf8GpNluewfjCrithZDAb1pRRb23WkQo1SroJRiy60S5X5LmhS5JBxzJPtRJpygGMizfd7vHPVT4Tk4ecNZMyX9gzmQvAijR9gYaD6odo2SMfBQvyjRU+Lc0PDF2gvFLg/477NoLG0Yvc2p5RXGVJ63DzcKgxy7/oQ4OgTg==",
        "X-Forefront-Antispam-Report": "CIP:216.228.112.35; CTRY:US; LANG:en; SCL:1;\n SRV:;\n IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid02.nvidia.com; CAT:NONE;\n SFS:(4636009)(136003)(346002)(39860400002)(396003)(376002)(36840700001)(46966006)(82310400003)(1076003)(107886003)(316002)(2616005)(26005)(186003)(6916009)(7636003)(83380400001)(4326008)(86362001)(54906003)(426003)(356005)(8936002)(36756003)(5660300002)(16526019)(4744005)(36860700001)(82740400003)(70586007)(336012)(70206006)(2906002)(8676002)(6666004)(7696005)(478600001)(36906005)(47076005);\n DIR:OUT; SFP:1101;",
        "X-OriginatorOrg": "Nvidia.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "17 Sep 2021 03:05:18.9178 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n a47320f1-28b6-434c-aa05-08d97987fb1f",
        "X-MS-Exchange-CrossTenant-Id": "43083d15-7273-40c1-b7db-39efd9ccc17a",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.35];\n Helo=[mail.nvidia.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n DM6NAM11FT038.eop-nam11.prod.protection.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "CH2PR12MB5516",
        "Cc": "zhen wang <zhewang@nvidia.com>",
        "Subject": "[ovs-dev] [PATCH ovn 1/2] Revert \"northd: Don't poll ovsdb before\n\tthe connection is fully established\"",
        "X-BeenThere": "ovs-dev@openvswitch.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "<ovs-dev.openvswitch.org>",
        "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>",
        "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>",
        "List-Post": "<mailto:ovs-dev@openvswitch.org>",
        "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>",
        "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>",
        "From": "Zhen Wang via dev <ovs-dev@openvswitch.org>",
        "Reply-To": "Zhen Wang <zhewang@nvidia.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ovs-dev-bounces@openvswitch.org",
        "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>"
    },
    "content": "From: zhen wang <zhewang@nvidia.com>\n\nThis reverts commit 1e59feea933610b28fd4442243162ce35595cfee.\nAbove commit introduced a bug when muptiple ovn-northd instances work in HA\nmode. If SB leader and active ovn-northd instance got killed by system power\noutage, standby ovn-northd instance would never detect the failure.\n\nSigned-off-by: zhen wang <zhewang@nvidia.com>\n---\n northd/northd.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/northd/northd.c b/northd/northd.c\nindex 688a6e4ef..b7e64470f 100644\n--- a/northd/northd.c\n+++ b/northd/northd.c\n@@ -74,8 +74,8 @@ static bool use_ct_inv_match = true;\n \n /* Default probe interval for NB and SB DB connections. */\n #define DEFAULT_PROBE_INTERVAL_MSEC 5000\n-static int northd_probe_interval_nb = 0;\n-static int northd_probe_interval_sb = 0;\n+static int northd_probe_interval_nb = DEFAULT_PROBE_INTERVAL_MSEC;\n+static int northd_probe_interval_sb = DEFAULT_PROBE_INTERVAL_MSEC;\n #define MAX_OVN_TAGS 4096\n \f\n /* Pipeline stages. */\n",
    "prefixes": [
        "ovs-dev",
        "1/2"
    ]
}