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 51852200C55 for ; Thu, 13 Apr 2017 14:05:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4FFEE160B98; Thu, 13 Apr 2017 12:05:53 +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 716BE160B8B for ; Thu, 13 Apr 2017 14:05:52 +0200 (CEST) Received: (qmail 46805 invoked by uid 500); 13 Apr 2017 12:05:51 -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 46793 invoked by uid 99); 13 Apr 2017 12:05:51 -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; Thu, 13 Apr 2017 12:05:51 +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 B6EE8181059 for ; Thu, 13 Apr 2017 12:05:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.296 X-Spam-Level: X-Spam-Status: No, score=-0.296 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, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id b1en8zd-WgZg for ; Thu, 13 Apr 2017 12:05:48 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F334F5F239 for ; Thu, 13 Apr 2017 12:05:47 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id g204so62953765oib.1 for ; Thu, 13 Apr 2017 05:05:47 -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=KjezFthT5YqW3Y8J5Avcax+2swoLk9uBCZx7Y4E5JB4=; b=U1H5b39hMc3X4gDTv0E8Ziftls1zmXyJYABFIIX6DbgDTobg+lhjDwfHUpKLzsqV1M lQovjwam+zNymohppFJZoIBpMNcbAghKJNEpFcMpb4e0DCZXTaWSXU7FC/DPfVv+uHK7 qam0o/RJM9tDmQERZ5ZFo/iAKAw6XouQvWMFLvjKRfJ4bTjQX64sv57GciQ34J+5uVUE A0bpxo0JIQlB5PbuJYYlhoPqEfHRp9d1Fr/msZtwJu5jxMW5UM6ZJdVNvzZQnuUBc8XB Q7krnOzUCrVT3/cLk+iPHv5ObujIWa2PkmIeX/ZSefaL4FREQ6luc0QmwYqdqA/B5eIt XRIQ== 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=KjezFthT5YqW3Y8J5Avcax+2swoLk9uBCZx7Y4E5JB4=; b=AFHposR6cLYTYzfZzdMSrlaIkyD+pm8104EcyHscGBTsUIm6JdtWpRnBpO64VOjBWi XAwBOPQUU5CQn2HI9eu4HO+0PvA9i5UNwOFOJ8sOApth5KPuZ7nhukSEPabExTBBb4XK pyvtxIUjxuJ6/yU111Q2gVKdP/c3WHqzzX64Te3kDwetojUfNIuJcaoKDAY2E0Muaf+W 8pnzzDe7feezYr08yOE2DzqCQrPaGLJ1sY6wsJJlPPzm5fQPD+InWYThsHauN8+c7ozQ SIFD5hAcn9Syq7+YPBxjVTVFL8RxwH5NlitPBS6Z9wO/Ez1MIV2sXqJaSmHMcEkie9sb TVRw== X-Gm-Message-State: AN3rC/5/+g0nbCHKkK0+7TN5ak7KObGritX2oAybEBxRcr4yew9oXf5s 3/QTSchZA54kfbD5dC0cUtJDdwNFbAET X-Received: by 10.202.65.193 with SMTP id o184mr1404695oia.81.1492085146870; Thu, 13 Apr 2017 05:05:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.63.87 with HTTP; Thu, 13 Apr 2017 05:05:46 -0700 (PDT) In-Reply-To: References: From: Semyon Boikov Date: Thu, 13 Apr 2017 15:05:46 +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=001a113cd808277b5c054d0b2541 archived-at: Thu, 13 Apr 2017 12:05:53 -0000 --001a113cd808277b5c054d0b2541 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Vadim, I added comments in JIRA. I'll apply the same fix for hibernate5 when fix is finalized. Thanks! On Thu, Apr 13, 2017 at 12:10 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: > Hi, guys! > > Semyon, have you had a time to review IGNITE-4760 > https://github.com/apache/ignite/pull/1768 ? > > Is this fix actual for hibernate5 module? > > Vadim Opolski > > 2017-04-11 13:40 GMT+03:00 Semyon Boikov : > >> 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 >>> contain expected number of entries. Test fails for >>> HibernateNonStrictAccessStrategy. >>> 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 accord= ance >>>>> 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 >>>>> >>>>> >>>>> 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/HibernateL2CacheConfigurationSe >>>>> lfTest.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 tryin= g 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 >>>>>> and to add >>>>>> > > Junit test. >>>>>> > > >>>>>> > > Why folder hibernate is not a module ? Can I added it ? >>>>>> > > >>>>>> > > Vadim Opolski >>>>>> > > >>>>>> > >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >> > --001a113cd808277b5c054d0b2541--