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 92A3B200C53 for ; Tue, 11 Apr 2017 12:40:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9130A160B9B; Tue, 11 Apr 2017 10:40:17 +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 AF730160B89 for ; Tue, 11 Apr 2017 12:40:16 +0200 (CEST) Received: (qmail 55068 invoked by uid 500); 11 Apr 2017 10:40:15 -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 55056 invoked by uid 99); 11 Apr 2017 10:40:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2017 10:40:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E67ED1A035F for ; Tue, 11 Apr 2017 10:40:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.797 X-Spam-Level: X-Spam-Status: No, score=-0.797 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id aaekRwjHfKQ4 for ; Tue, 11 Apr 2017 10:40:12 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 95A815FC72 for ; Tue, 11 Apr 2017 10:40:12 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id b187so178503278oif.0 for ; Tue, 11 Apr 2017 03:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QEx0Fg05nvhMt8ZSLTsfHWfoNDmbBy6myFzkUU64ZKk=; b=uCcd1uztWgClcNUPrQ3ZNJQ6k6Bx0aAKSiy1UcoOl2CLNFd2TIjMiFukh+MDv86xjY 6UuLbsCl3fk3PTKvv/yDr70WTTR23VR+CKTmqQp6/A47zIzXr4yNvUXY0HatjSqdr4yw 8GUwxm9Zav9uAjR+BRCWGj6DI7pJ6xiJU+ffVW3F3y1fQKMC+FxQH0QyC5jOgVKjm5RF VwIA40zsHepac7KJeNhWusDcPDGPNAvkFLsvsIgnTrBZIA/MmiigJBBNbapjLc1U/Wm5 1qrNJ+HCnyUwGp7RMYp1vifce6YjCF6zZdxOR1JiDh9AYzO3uZ17JG4fTUPkYKSqHda2 Ik8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QEx0Fg05nvhMt8ZSLTsfHWfoNDmbBy6myFzkUU64ZKk=; b=tCbeAKq0m42DolwwJEWkDxH9ycG2OSPDPlFIGTpl4c1ZuZ8e//dovTgxT7w4+NwjhQ 8ic7b+t7OxDdezNM8ozbjYxbkj3IF4cmVuvbQWX1nC2ywLdTkNzNVOP7LbBHhf11kh0O ZFoCJgTpqYHSBmEsQPrKrYEowIxZXJgef7WAcjFZ4TpuZvoPWfp0H95okRDwQiGGjeWp clZjWYkC1wG8uWjQzDgbKNOGXE8M+mdKwX20grdJTKZySA3NXnllCX13iloUXf0ZkMWP XPQibj7KNQPRbnjblSp7v/Vm93LMJsVhoHA/SPkeM4yy+m7Fz3BSrT+YZxoyNQzZU5gD J2ZA== X-Gm-Message-State: AFeK/H2m/cX9MXacF/h557J68AengYo2C3YXonOIqZ9RB94eiHuu8Ncy5Xs9ukKg1Iw3t4ZUXU9SZxvJiyHdbKub X-Received: by 10.202.65.193 with SMTP id o184mr31798579oia.81.1491907212026; Tue, 11 Apr 2017 03:40:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.60.69 with HTTP; Tue, 11 Apr 2017 03:40:11 -0700 (PDT) In-Reply-To: References: From: Semyon Boikov Date: Tue, 11 Apr 2017 13:40:11 +0300 Message-ID: Subject: Re: IGNITE - 4760 ready for review To: =?UTF-8?B?0JLQsNC00LjQvCDQntC/0L7Qu9GM0YHQutC40Lk=?= Cc: dev@ignite.apache.org, Valentin Kulichenko Content-Type: multipart/alternative; boundary=001a113cd808696729054ce1b705 archived-at: Tue, 11 Apr 2017 10:40:17 -0000 --001a113cd808696729054ce1b705 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Vadim, I'll try to do review today. Semyon On Mon, Apr 10, 2017 at 8:15 PM, =D0=92=D0=B0=D0=B4=D0=B8=D0=BC =D0=9E=D0= =BF=D0=BE=D0=BB=D1=8C=D1=81=D0=BA=D0=B8=D0=B9 wrote: > Hello guys! > > Semyon, review please again. Test check corresponding IgniteCaches contai= n > expected number of entries. Test fails for HibernateNonStrictAccessStrate= gy. > > And per-cache thread local in method threadLocalForCache fix this issue. > > https://github.com/apache/ignite/pull/1768/files > > Vadim Opolski > > > 2017-04-07 14:15 GMT+03:00 Semyon Boikov : > >> Hi Vadim, >> >> Test does not look correct to me. I think test need check that >> corresponding IgniteCaches contain expected number of entries like >> 'testCacheUsage' does. >> >> Thanks >> >> On Wed, Apr 5, 2017 at 3:26 PM, =D0=92=D0=B0=D0=B4=D0=B8=D0=BC =D0=9E=D0= =BF=D0=BE=D0=BB=D1=8C=D1=81=D0=BA=D0=B8=D0=B9 >> wrote: >> >>> Hello everybody! >>> >>> Added test. Test fails after session.update(e2forUpdate). This update >>> must put into ENTITY2_NAME region, but it puts into ENTITY1_NAME and >>> ENTITY2_NAME regions. >>> >>> https://github.com/vadopolski/ignite/pull/1 >>> >>> Is it true? >>> >>> I have no idea how to change the method threadLocalForCache to support >>> NONSTRICT_READ_WRITE strategy. I tried to change it in accordance with >>> Cameroon Braid report. >>> >>> Vadim Opolski >>> >>> >>> ---------- Forwarded message ---------- >>> From: =D0=92=D0=B0=D0=B4=D0=B8=D0=BC =D0=9E=D0=BF=D0=BE=D0=BB=D1=8C=D1= =81=D0=BA=D0=B8=D0=B9 >>> Date: 2017-04-03 17:39 GMT+03:00 >>> Subject: Re: IGNITE - 4760 : working in hibernate module >>> To: dev@ignite.apache.org >>> Cc: Valentin Kulichenko , Semyon Boikov = < >>> sboikov@gridgain.com> >>> >>> >>> Hello everyone! >>> >>> I added some change to method threadLocalForCache and added test >>> testEntityCacheNonStrictFails. >>> >>> How to reproduce situation when updates can be recorded to another >>> region? >>> >>> https://github.com/vadopolski/ignite/blob/5aa25f3830fef14ac5 >>> 07ed73872d62b2969a7411/modules/hibernate/src/main/java/org/a >>> pache/ignite/cache/hibernate/HibernateRegionFactory.java >>> >>> https://github.com/vadopolski/ignite/blob/5aa25f3830fef14ac5 >>> 07ed73872d62b2969a7411/modules/hibernate/src/test/java/org/a >>> pache/ignite/cache/hibernate/HibernateL2CacheConfigurationSelfTest.java >>> >>> PullRequest >>> https://github.com/vadopolski/ignite/pull/4/files >>> >>> Vadim >>> >>> >>> >>> 2017-03-27 18:20 GMT+03:00 Denis Magda : >>> >>>> Vadim, >>>> >>>> What IDE do you use? My recommendation would be to set up everything >>>> let=E2=80=99s say under IntellijIDEA or Eclipse and after that trying = to compile >>>> from a terminal. >>>> >>>> This is how you can easily prepare the dev env in IntellijIDEA: >>>> https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup < >>>> https://cwiki.apache.org/confluence/display/IGNITE/Project+Setup> >>>> >>>> =E2=80=94 >>>> Denis >>>> >>>> > On Mar 27, 2017, at 7:14 AM, =D0=92=D0=B0=D0=B4=D0=B8=D0=BC =D0=9E= =D0=BF=D0=BE=D0=BB=D1=8C=D1=81=D0=BA=D0=B8=D0=B9 >>>> wrote: >>>> > >>>> > Valentin, OK. >>>> > >>>> > To enabled it in my environment I done next: >>>> > - built project with command - mvn clean package -DskipTests >>>> -Prelease,lgpl >>>> > - added folder hibernate to modules in project structure >>>> > - added library to dependencies (without it import doesn't working) >>>> > >>>> > After that I have a lot of error, for instance: >>>> > - Class 'AccessStrategy' must either be declared abstract or >>>> implement abstract method 'remove(SharedSessionContractImplementor, >>>> Object) in 'RegionAccessStrategy' >>>> > >>>> > generateCacheKey >>>> > getCacheKeyId >>>> > getRegion >>>> > insert >>>> > afterInsert >>>> > update >>>> > afterUpdate >>>> > insert >>>> > afterInsert >>>> > update >>>> > get >>>> > putFromLoad >>>> > lockItem >>>> > unlockItem >>>> > remove >>>> > >>>> > Do anybody know the easier way to resolve this issue? >>>> > >>>> > Also tried to reimport all maven projects and cleansed repository in >>>> .m2. >>>> > Vadim Opolski >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > 2017-03-25 2:42 GMT+03:00 Valentin Kulichenko < >>>> valentin.kulichenko@gmail.com >: >>>> > Vadim, >>>> > >>>> > ignite-hibernate module is a part of 'lgpl' profile. Apparently it's >>>> not >>>> > enabled in your environment. >>>> > >>>> > -Val >>>> > >>>> > On Fri, Mar 24, 2017 at 4:38 PM, =D0=92=D0=B0=D0=B4=D0=B8=D0=BC =D0= =9E=D0=BF=D0=BE=D0=BB=D1=8C=D1=81=D0=BA=D0=B8=D0=B9 < >>>> vaopolskij@gmail.com > >>>> > wrote: >>>> > >>>> > > Hello everybody, >>>> > > >>>> > > I want to resolve issue =E2=84=964760 >>>> > > https://issues.apache.org/jira/browse/IGNITE-4760 < >>>> https://issues.apache.org/jira/browse/IGNITE-4760> >>>> > > >>>> > > To find solution I'm going to change method threadLocalForCache an= d >>>> to add >>>> > > Junit test. >>>> > > >>>> > > Why folder hibernate is not a module ? Can I added it ? >>>> > > >>>> > > Vadim Opolski >>>> > > >>>> > >>>> >>>> >>> >>> >> > --001a113cd808696729054ce1b705--