Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CA9018DED for ; Wed, 11 Nov 2015 02:37:11 +0000 (UTC) Received: (qmail 70601 invoked by uid 500); 11 Nov 2015 02:37:11 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 70549 invoked by uid 500); 11 Nov 2015 02:37:11 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 70519 invoked by uid 99); 11 Nov 2015 02:37:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Nov 2015 02:37:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0423E2C0453 for ; Wed, 11 Nov 2015 02:37:11 +0000 (UTC) Date: Wed, 11 Nov 2015 02:37:11 +0000 (UTC) From: "Andrey Novikov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-1887) REST-HTTP change queryId generation from sequence to random. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrey Novikov created IGNITE-1887: -------------------------------------- Summary: REST-HTTP change queryId generation from sequence to random. Key: IGNITE-1887 URL: https://issues.apache.org/jira/browse/IGNITE-1887 Project: Ignite Issue Type: Bug Reporter: Andrey Novikov Assignee: Andrey Novikov Priority: Minor First problem: 1. client1 execute query and get queryId = 1. 2. node where query was executed is restarted (queryId generator initialized to zero). 3. client2 execute some query and also get queryId=1. 4. client1 fetch next page for queryId=1 and GETS results of client2. Second problem: As queryId is generated sequentially it is very easy to brute force and some client could get data of other clients too easy. -- This message was sent by Atlassian JIRA (v6.3.4#6332)