From issues-return-96464-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Jun 5 10:13:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 438E818065D for ; Wed, 5 Jun 2019 12:13:02 +0200 (CEST) Received: (qmail 45692 invoked by uid 500); 5 Jun 2019 10:13:01 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 45676 invoked by uid 99); 5 Jun 2019 10:13:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2019 10:13:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BF2B1E00E0 for ; Wed, 5 Jun 2019 10:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6063324599 for ; Wed, 5 Jun 2019 10:13:00 +0000 (UTC) Date: Wed, 5 Jun 2019 10:13:00 +0000 (UTC) From: "Vladislav Pyatkov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-11844) Should to filtered indexes by cache name instead of validate all caches in group 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/IGNITE-11844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856566#comment-16856566 ] Vladislav Pyatkov commented on IGNITE-11844: -------------------------------------------- [~6uest] I look at your commit and have one question: Why you using {{ThreadLocalRandom}}, when the method ({{testValidateSingleCacheShouldNotTriggerCacheGroupValidation()}}) can be used from one thread only? Is rely necessary to use random values here? (I think predefined values will be enough there - for example i instead of {{rand.nextInt()}}.) > Should to filtered indexes by cache name instead of validate all caches in group > -------------------------------------------------------------------------------- > > Key: IGNITE-11844 > URL: https://issues.apache.org/jira/browse/IGNITE-11844 > Project: Ignite > Issue Type: Bug > Reporter: Vladislav Pyatkov > Assignee: Andrey Kalinin > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > control.sh utility method validate_indexes checks all indexes of all caches in group. Just do specify one caches (from generic group) in caches list, then all indexes from all caches (that group) will be start to validate and this can consume more time, than checks indexes only specified caches. > Will be correct to validate only indexes of specified caches, for the purpose need to filtered caches, by list from parameters, in shared group. -- This message was sent by Atlassian JIRA (v7.6.3#76005)