Hi Jeremy, Yes, riak-admin backup reads all data, iterating through each vnode, to create the backup file. To restore, it performs a normal put operation for each object.
Can you run 'du -k' within the ./data/eleveldb directory on your dev node. This will list the size of each vnode directory. I'd like to check that each vnode has data in it, and that the vnodes are roughly the same size. (There will be some variation due to how LevelDB compacts data, of course.) Also, have you changed any of the default bucket settings in production or on your dev machine? Is there anything that is different from the defaults? Best, Rusty On Thu, Dec 22, 2011 at 9:18 AM, Jeremy Raymond <jeraym...@gmail.com> wrote: > I ran the queries against the production cluster and could not reproduce > the issue (*whew*). It gave me consistent correct results for the repeated > queries. > > The main difference I see is that the data on the prod cluster is written > directly to Riak and on the dev machine it is restored data. Do the > riak-admin backup/restore commands do more than read all the objects out of > riak, serialize them to disk, and then write them back via normal put > operations when restoring? > > -- > Jeremy > > > > On Thu, Dec 22, 2011 at 8:24 AM, Jeremy Raymond <jeraym...@gmail.com>wrote: > >> The output from the commands all look normal (just running a single >> node). I'm going to see if I can reproduce this outside of this setup. >> >> $ bin/riak-admin ringready >> TRUE All nodes agree on the ring ['dev1@127.0.0.1'] >> $ bin/riak-admin transfers >> No transfers active >> $ bin/riak-admin member_status >> ================================= Membership >> ================================== >> Status Ring Pending Node >> >> ------------------------------------------------------------------------------- >> valid 100.0% -- 'dev1@127.0.0.1' >> >> ------------------------------------------------------------------------------- >> Valid:1 / Leaving:0 / Exiting:0 / Joining:0 / Down:0 >> $ bin/riak-admin ring_status >> ================================== Claimant >> =================================== >> Claimant: 'dev1@127.0.0.1' >> Status: up >> Ring Ready: true >> >> ============================== Ownership Handoff >> ============================== >> No pending changes. >> >> ============================== Unreachable Nodes >> ============================== >> All nodes are up and reachable >> >> -- >> Jeremy >> >> >> >> On Wed, Dec 21, 2011 at 7:33 PM, Rusty Klophaus <ru...@basho.com> wrote: >> >>> Hi Jeremy, >>> >>> That is strange. Can you try running "bin/riak-admin ringready", >>> "bin/riak-admin transfers", "bin/riak-admin member_status", and >>> "bin/riak-admin ring_status"? Does everything look normal? >>> >>> Also, if possible, a zip file of your ./data directory would help us >>> immensely while troubleshooting. (Feel free to email the link to me off >>> list.) >>> >>> Best, >>> Rusty >>> >>> On Wed, Dec 21, 2011 at 12:32 PM, Jeremy Raymond <jeraym...@gmail.com>wrote: >>> >>>> I'm seeing an issue where running the same index query multiple times >>>> against an unchanging set of data returns a differing numbers of items. >>>> Riak error and crash logs are empty. >>>> >>>> I've seen this on my dev machine (haven't noticed it in production, but >>>> it could be happening). The production cluster is running Riak 1.0.2 and my >>>> dev machine is running 1.0 (96d0b8011 from Oct 6) compiled from source. The >>>> data on my dev machine is an import of the data from production (via >>>> riak-admin backup/restore). >>>> >>>> Anyone seen this issue? Help on debugging the cause appreciated. >>>> >>>> -- >>>> Jeremy >>>> >>>> _______________________________________________ >>>> riak-users mailing list >>>> riak-users@lists.basho.com >>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >>>> >>>> >>> >>> >>> -- >>> Rusty Klophaus (@rustyio) >>> *Basho Technologies, Inc.* >>> www.basho.com >>> >>> >>> >> > -- Rusty Klophaus (@rustyio) *Basho Technologies, Inc.* www.basho.com
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com