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 540C2200B36 for ; Wed, 6 Jul 2016 08:36:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 52AB3160A64; Wed, 6 Jul 2016 06:36:00 +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 996F2160A36 for ; Wed, 6 Jul 2016 08:35:59 +0200 (CEST) Received: (qmail 38641 invoked by uid 500); 6 Jul 2016 06:35:58 -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 38631 invoked by uid 99); 6 Jul 2016 06:35:58 -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; Wed, 06 Jul 2016 06:35:58 +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 46F7F1A5F00 for ; Wed, 6 Jul 2016 06:35:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id sC6PD7y8iPWL for ; Wed, 6 Jul 2016 06:35:56 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1D4FF5F4E9 for ; Wed, 6 Jul 2016 06:35:56 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id e3so106024974qkd.0 for ; Tue, 05 Jul 2016 23:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=4dmMByuk5jhS9I1bXQsiQC9uHcxVSJpJYnzlGbOFUkM=; b=AuER+L4+KOQKcMiI1Xi8AL5/0/wKeHGRKCnTcC0TSCVyKvJxzI2A2eDPc7EdK+p2Pp QYoKVGfU3F+QbnO4ZROTxheeBKDuxsSxEaW24z/Mi6eAZpgvoJnmyaJm9boqmi+QXJZC x7oUB3ss8qnTKhNWs47sb36KyoM5CwatqR6vNBt+Tvvy89msoIdRHTYEtx/i2MSyu9K1 skZ3BS9QuWjNuZjGtwQR41QyJPhRsnxtW4aVj6IHCkf52To6JKyziilupRDyhsMJ4CvL 6WqHIKdQnHQ8IU4hKFGCvGwkvP96yG9utfnyYNZ1NN/zP9oRVmsKzuNgdeAE39sPAUu1 vAOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=4dmMByuk5jhS9I1bXQsiQC9uHcxVSJpJYnzlGbOFUkM=; b=Y6b8LGxuyD/Aq5swzpnSm7Wo75Wr3VbZ+LpukE3A142AeC83bGlL27rjRT30Ldkrkb D2RPT73ZaR6H+EKnl8YJrtOTtzwq0KisQAK6boj6K6xFrhOhgf2q1AY+zfmkWInbHxvF G19Ki8h30U2G5fSCjJVBj4IBAxdQiWPmq34UThOjbhFvrQzLoB0X0VQ0bhYXTC5xcZbc v7LrkRODUAS91mZtTX5U7RikU7etD2qKo4dKVvXEFqGxjWmN4mF/kcwuyd/kmCvxrwMB 2mNBrY9NAbjyP0HSVG5TNpm6EMIj8xKpLOYe0gGAyZkS/TBs93dcMCz1ugdAduf3A2xs Gigg== X-Gm-Message-State: ALyK8tK8PF4oDOucgSWsK7ZSkkC0dEI5WmuTI6xLZefDwu+seanwLrHfemsbfeUkVdLu0N6PzgidO/zST55Pcg== X-Received: by 10.55.15.132 with SMTP id 4mr28835022qkp.178.1467786948445; Tue, 05 Jul 2016 23:35:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.37.72 with HTTP; Tue, 5 Jul 2016 23:35:47 -0700 (PDT) In-Reply-To: <1467632772516-6076.post@n6.nabble.com> References: <1467362358731-6038.post@n6.nabble.com> <1467393236100-6046.post@n6.nabble.com> <1467415244281-6051.post@n6.nabble.com> <1467548224452-6061.post@n6.nabble.com> <1467632772516-6076.post@n6.nabble.com> From: Alexei Scherbakov Date: Wed, 6 Jul 2016 09:35:47 +0300 Message-ID: Subject: Re: Iterating through a BinaryObject cache fails To: user Content-Type: multipart/alternative; boundary=001a1146f5f2ab0a060536f1c7c4 archived-at: Wed, 06 Jul 2016 06:36:00 -0000 --001a1146f5f2ab0a060536f1c7c4 Content-Type: text/plain; charset=UTF-8 Hi, This is because changes are not reflected in the cache without explicit put. You must use put operation to correctly update cache entry. 2016-07-04 14:46 GMT+03:00 pragmaticbigdata : > Ok. Thanks for sharing the internals. > > By specifying the withKeepBinary flag, I was able to iterate through the > cache and add or drop fields from a BinaryObject at runtime. This was the > original purpose of iterating through the cache. > > The changes (of adding and/or dropping a field) made to the cache are not > reflecting on h2 debug console. I am able to query the newly added field > but > I cannot see the changes on h2. > > Can you suspect what could be the issue ? > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Iterating-through-a-BinaryObject-cache-fails-tp6038p6076.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Best regards, Alexei Scherbakov --001a1146f5f2ab0a060536f1c7c4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

This is because changes are not= reflected in the cache without explicit put.

You must us= e put operation to correctly update cache entry.


2016-07-04 14:46 GMT+03:= 00 pragmaticbigdata <amits.84@gmail.com>:
Ok. Thanks for sharing the internals.

By specifying the withKeepBinary flag, I was able to iterate through the cache and add or drop fields from a BinaryObject at runtime. This was the original purpose of iterating through the cache.

The changes (of adding and/or dropping a field) made to the cache are not reflecting on h2 debug console. I am able to query the newly added field bu= t
I cannot see the changes on h2.

Can you suspect what could be the issue ?



--
View this message in context: http://apache-ignite-users.70518.x6.n= abble.com/Iterating-through-a-BinaryObject-cache-fails-tp6038p6076.html=
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.



--

Best r= egards,
Alexei Scherbakov
--001a1146f5f2ab0a060536f1c7c4--