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 88917200BC5 for ; Tue, 22 Nov 2016 16:02:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8743A160B0C; Tue, 22 Nov 2016 15:02:26 +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 D0426160B0A for ; Tue, 22 Nov 2016 16:02:25 +0100 (CET) Received: (qmail 14532 invoked by uid 500); 22 Nov 2016 15:02:25 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 14523 invoked by uid 99); 22 Nov 2016 15:02:25 -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, 22 Nov 2016 15:02:25 +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 7C79E18002D for ; Tue, 22 Nov 2016 15:02:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.218 X-Spam-Level: X-Spam-Status: No, score=-6.218 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id y0jYvAIKJHNF for ; Tue, 22 Nov 2016 15:02:23 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 3CAFA5FB04 for ; Tue, 22 Nov 2016 15:02:23 +0000 (UTC) Received: (qmail 7637 invoked by uid 99); 22 Nov 2016 15:01:08 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 15:01:08 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 00F272C4C70 for ; Tue, 22 Nov 2016 15:01:08 +0000 (UTC) Date: Tue, 22 Nov 2016 15:01:08 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-1653) Executing a fire-and-forget function on all servers doesn't actually execute on all servers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 22 Nov 2016 15:02:26 -0000 [ https://issues.apache.org/jira/browse/GEODE-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15686967#comment-15686967 ] ASF GitHub Bot commented on GEODE-1653: --------------------------------------- Github user metatype commented on a diff in the pull request: https://github.com/apache/incubator-geode/pull/293#discussion_r89129716 --- Diff: geode-core/src/test/java/org/apache/geode/internal/cache/execute/PRClientServerRegionFunctionExecutionDUnitTest.java --- @@ -143,7 +143,7 @@ public void testServerSingleKeyExecution_Bug43513_OnRegion() { .serverSingleKeyExecutionOnRegion_SingleConnection()); } - @Ignore("Bug47584") + // @Ignore("Bug47584") --- End diff -- Instead of commenting this out, I suggest removing it altogether. > Executing a fire-and-forget function on all servers doesn't actually execute on all servers > ------------------------------------------------------------------------------------------- > > Key: GEODE-1653 > URL: https://issues.apache.org/jira/browse/GEODE-1653 > Project: Geode > Issue Type: Bug > Components: functions > Reporter: Barry Oglesby > Assignee: Amey Barve > > Executing a fire-and-forget function on all servers only executes on the ones the client is currently connected to. > The two {{ExecuteFunctionNoAckOp execute}} methods get the servers to execute against using code like: > {noformat} > pool.getCurrentServers(); > {noformat} > This method just gets all the {{EndpointManager's endpointMap's ServerLocations}}. > What should be done is more like what the {{ExecuteFunctionOp execute}} methods do: > {noformat} > private static List getAllServers(PoolImpl pool) { > List servers = null; > if (pool.getLocators() == null || pool.getLocators().isEmpty()) { > servers = ((ExplicitConnectionSourceImpl) pool.getConnectionSource()).getAllServers(); > } else { > servers = ((AutoConnectionSourceImpl) pool.getConnectionSource()).findAllServers(); // n/w call on locator > } > return servers; > } > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)