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 785E4200D41 for ; Wed, 8 Nov 2017 02:54:24 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 76F56160BED; Wed, 8 Nov 2017 01:54:24 +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 BCBD2160C00 for ; Wed, 8 Nov 2017 02:54:23 +0100 (CET) Received: (qmail 9312 invoked by uid 500); 8 Nov 2017 01:54:22 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 9293 invoked by uid 99); 8 Nov 2017 01:54:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2017 01:54:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CEC63CE371 for ; Wed, 8 Nov 2017 01:54:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.73 X-Spam-Level: ** X-Spam-Status: No, score=2.73 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id CSKFRPVxh2uS for ; Wed, 8 Nov 2017 01:54:20 +0000 (UTC) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id E7F8963748 for ; Wed, 8 Nov 2017 01:48:25 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id j14so840052uag.11 for ; Tue, 07 Nov 2017 17:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=gDf1SloI4+ni4i4zmZIx6wwXNUXn+gKSar+05prQod8=; b=VPTbf/BKedyE/u2TWzjaJTXIO6GgBnijD9MGQFHfgoo6tGdZvw2jwFCB78r5XIZa93 z50EkKP8TH/mvcIr3EoQHGSCRz7+853iLUc/dvpT45MBl64PTMVAPMlipp+ZgU7BaNc7 8HHv+/ovEYlI7Gocl6fxjP3M7QSYg4Td/mYb6AG9K02/UX1CySB1uiU6hO706lfjDeDE kiTE2uswinfTNeiu5v9Wb+eGbeowv24dgWgqARSvqQkNIzNh1qkMRWYoPAlAcTGqOG2d d0OOU9gNf5apf0PcqLQo9I+4E76xIceiF6i0MuJcIth3j7gutaCBTwTErW70uhMtdKfV 02qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=gDf1SloI4+ni4i4zmZIx6wwXNUXn+gKSar+05prQod8=; b=pPXCI8q2maqqXNPi1P/PDHixw+7ootZ80o3Qk173cy4ZrsHdAwy1LWdEFptHCInY4H EnfAYP5US8DgiNKv2i6hmbQmZQYavqU53zlxwHOX8ahhX9K7YHSuzfI3AP2t9+xloIIt AjEkRPS4AR+m3ciDAye/wEeJxZHtLpCbhx9Jox9nasIU2B3EV4VZJvVd78M1FCLyglpe DZUHrrVZFaSiYnBThIY5yqWRWZo4icY4/5f4+s3VCIODUU8n9vvnGo2SfxvistVi2sZN 1Hj9LSYaSoUoxw3cXoMal7awXTo6RE1sugmCWibP5c4sV5tEf2HEeXV0jTAho5DpcpIW /h8Q== X-Gm-Message-State: AJaThX6PXNZ4l4Jca3xPZSUozORLHnAN6bUsAB0dbZdn/KRW5zEvtK3y 01HdyNwrpyG1zTBM1FNesx5nFua2swZz68aqasl86Q== X-Google-Smtp-Source: ABhQp+QgaXQ9+eo/AObU7yj1RrhrBF1Zj4lRv8xb8QnUKT/3e7rl5/tD4oyYcfogyUt6Kg/wBLoB2r8SCugAQb5a3XA= X-Received: by 10.159.36.168 with SMTP id 37mr570692uar.187.1510105705222; Tue, 07 Nov 2017 17:48:25 -0800 (PST) MIME-Version: 1.0 Sender: anirudha81@gmail.com Received: by 10.103.46.86 with HTTP; Tue, 7 Nov 2017 17:47:54 -0800 (PST) In-Reply-To: <1510089178222-0.post@n6.nabble.com> References: <1499696682563-14590.post@n6.nabble.com> <1509989831194-0.post@n6.nabble.com> <1510014390467-0.post@n6.nabble.com> <1510070979040-0.post@n6.nabble.com> <1510073862287-0.post@n6.nabble.com> <1510083102548-0.post@n6.nabble.com> <1510089178222-0.post@n6.nabble.com> From: Anirudha Jadhav Date: Tue, 7 Nov 2017 20:47:54 -0500 X-Google-Sender-Auth: pNc401LnySdYuLyw21jGs2ciAiM Message-ID: Subject: Re: split-brain problem and GridSegmentationProcessor To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a113cf8b82217c3055d6ee28f" archived-at: Wed, 08 Nov 2017 01:54:24 -0000 --001a113cf8b82217c3055d6ee28f Content-Type: text/plain; charset="UTF-8" we are just in the works of using a separate zk cluster to provide an implementation for segmentation resolution. If anyone else is working on it we could collaborate. or create a separate jira for a design review? what do you guys think? i think we could also make zk itself pluggable -Ani On Tue, Nov 7, 2017 at 4:12 PM, luqmanahmad wrote: > Hi Amit, > > Correct you have to provide implementation for both. > > Your custom segmentation will just be validating something and that method > of your segmentation resolver will be called inside the implementation of > GridSegmentationProcess which can be overriden through your plugin. By > default GridOsSegmentationProcessor is returning true and missing the whole > logic of validating different resolvers. > > Makes sense ? > > Thanks, > Luqman > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > -- Anirudha P. Jadhav --001a113cf8b82217c3055d6ee28f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
we are just in the works of using a separate=C2=A0 zk clus= ter to provide an implementation for segmentation resolution. If anyone els= e is working on it we could collaborate.

or create a separate jira f= or a design review? what do you guys think? i think we could also make zk i= tself pluggable

-Ani

On Tue, Nov 7, 2017 at 4:12 PM, luqmanahmad <luqmanah= med@gmail.com> wrote:
Hi Am= it,

Correct you have to provide implementation for both.

Your custom segmentation will just be validating something and that method<= br> of your segmentation resolver will be called inside the implementation of GridSegmentationProcess which can be overriden through your plugin. By
default GridOsSegmentationProcessor is returning true and missing the whole=
logic of validating different resolvers.

Makes sense ?

Thanks,
Luqman



--
=
Anirudha = P. Jadhav
--001a113cf8b82217c3055d6ee28f--