From: Willem Jan Withagen Subject: Re: getting more updates in rocksdb Date: Thu, 21 Jul 2016 10:15:39 +0200 Message-ID: <8d49bd5d-ad6b-8900-75ae-af234e5a05ae@digiware.nl> References: <1e5059aa-9470-4edc-6229-4a9346988fb3@digiware.nl> <578F896C.1000501@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from smtp.digiware.nl ([176.74.240.9]:20927 "EHLO smtp.digiware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751604AbcGUIP4 (ORCPT ); Thu, 21 Jul 2016 04:15:56 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Tone Zhang , Josh Durgin , Gregory Farnum , Ceph Development On 21-7-2016 09:15, Tone Zhang wrote: > Hi=EF=BC=8C >=20 > I met the same issue, and I run "git submodule update --init > --recursive --remote" to fetch the latest commit from > facebook/rocksdb. > In fact, there is one similar PR has been raised, it is > https://github.com/ceph/rocksdb/pull/10, it is in review stage. > In fact, the PR is raised to fix the rocksdb compiling error in > AArm64, the reason the ceph/rocksdb is out of date. > Sure we should fetch all the delta from facebook/rocksdb to ceph/rock= sdb. > Thanks. >=20 > Br, > Tone >=20 > On 20 July 2016 at 22:23, Josh Durgin wrote: >> On 07/20/2016 06:52 AM, Willem Jan Withagen wrote: >>> >>> On 20-7-2016 15:32, Gregory Farnum wrote: >>>> >>>> On Wed, Jul 20, 2016 at 3:38 AM, Willem Jan Withagen >>>> wrote: >>>>> >>>>> >>>>> Hi, >>>>> >>>>> I submitted a small patch to rocksdb for FreeBSD >>>>> >>>>> https://github.com/facebook/rocksdb/commit/b726bf59619d43651838e0= 3cce9f876b3560cbda >>>>> >>>>> And was hopping that it would be tracked by my Ceph stuff as well= =2E >>>>> But refetching things, it does not seem to be in the tree ceph cm= ake >>>>> fetches. >>>>> >>>>> And I'm not fluent enough in git to actually check if my current >>>>> checkout with hash: 5647fa427c4eab87c0caf8bcbb91f5846a4623f9 >>>>> should contain the above commit. >>>> >>>> >>>> Use "git log" on both trees and search for the hashes? :) >>>> >>>> Anyway, the Ceph submodule does not auto-update (git submodules do= n't >>>> support that AFAIK). You can go into the rocksdb folder and try >>>> checking out the latest upstream master, then committing the new h= ash >>>> as a commit in the Ceph git repo (at least, once your commit is >>>> merged; not sure if it is yet). >>> >>> >>> Although I (sort of) understand what you are saying, I'm not able t= o >>> reproduce the actual commands to do this. Comparing the logs I >>> understand. First just have to clone rocksdb. >>> >>> And as far as I know the commit I'm looking for is in the current >>> rocksdb tree. I got commit about 22 days ago, and the current hash = seems >>> te be from just a bit before that. >> >> >> To clarify, to update the rocksdb submodule, you'd need to first upd= ate >> the ceph fork. (cat .gitmodules shows src/rocksdb comes from >> https://github.com/ceph/rocksdb). >> >> You can make a PR to ceph/rocksdb with the latest upstream code from >> within your submodule checkout (src/rocksdb) which functions like a >> normal git repo itself. You could e.g. 'git pull >> https://github.com/facebook/rocksdb' to get the latest code there. >> >> Then once that's merged into ceph/rocksdb, make a PR to ceph (from t= he >> root of your ceph checkout 'git commit src/rocksdb' will update the >> sha1 the rocksdb submodule references). 'mmmm, If I look in ceph/rocksdb at github thru the filebrowser, the commit I made is actually in this tree. So I guess I should be getting it. So I guess I'm going to start recloning my sources... --WjW -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html