From: Luke Diamand <luke@diamand.org>
To: Lex Spoon <lex@lexspoon.org>
Cc: Git Users <git@vger.kernel.org>, Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCHv1 0/3] git-p4: fixing --changes-block-size support
Date: Sun, 07 Jun 2015 17:58:46 +0100 [thread overview]
Message-ID: <55747846.3060305@diamand.org> (raw)
In-Reply-To: <CALM2Sna_sdD_95MO3EbF0+QSpB9W1K8Rv3-TNOmnovWG57gh7g@mail.gmail.com>
On 07/06/15 17:01, Lex Spoon wrote:
> Great work.
Thanks! I actually found the problem in my day job, so it was very handy
having all the infrastructure already in place!
>
> For curiosity's sake, the -m solution has been observed to work on at
> least one Perforce installation. However clearly it doesn't work on
> others, so the batch ranges approach looks like it will be better.
Yes, I can easily imagine that it's changed from one version to the
next. I tried going back to a 2014.2 server which still had the same
problem (with maxresults), but my investigations were not very exhaustive!
>
> Based on what has been seen so far, the Perforce maxscanrows setting
> must be applying the low-level database queries that Perforce uses
> internally in its implementation. That makes the precise effect on
> external queries rather hard to predict. It likely also depends on the
> version of Perforce.
Indeed. All sorts of things can cause it to fail; I've seen it reject
"p4 files" and "p4 print", albeit with artificially low maxscanrows and
maxresults values. I think this means there's no way to ever make it
reliably work for all possible sizes of depot and values of
maxscanrows/maxresults.
Luke
prev parent reply other threads:[~2015-06-07 16:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-07 10:21 [PATCHv1 0/3] git-p4: fixing --changes-block-size support Luke Diamand
2015-06-07 10:21 ` [PATCHv1 1/3] git-p4: additional testing of --changes-block-size Luke Diamand
2015-06-07 16:06 ` Lex Spoon
2015-06-07 10:21 ` [PATCHv1 2/3] git-p4: test with limited p4 server results Luke Diamand
2015-06-07 16:11 ` Lex Spoon
2015-06-07 10:21 ` [PATCHv1 3/3] git-p4: fixing --changes-block-size handling Luke Diamand
2015-06-07 16:33 ` Lex Spoon
2015-06-07 17:06 ` Luke Diamand
2015-06-07 21:35 ` [PATCHv2 0/3] " Luke Diamand
2015-06-07 21:35 ` [PATCHv2 1/3] git-p4: additional testing of --changes-block-size Luke Diamand
2015-06-07 21:35 ` [PATCHv2 2/3] git-p4: test with limited p4 server results Luke Diamand
2015-06-07 21:35 ` [PATCHv2 3/3] git-p4: fixing --changes-block-size handling Luke Diamand
2015-06-07 22:58 ` Lex Spoon
2015-06-08 16:02 ` Junio C Hamano
2015-06-08 16:36 ` Lex Spoon
[not found] ` <xmqqy4juazkz.fsf@gitster.dls.corp.google.com>
[not found] ` <5575E264.6040601@diamand.org>
2015-06-08 22:32 ` Junio C Hamano
2015-06-07 16:01 ` [PATCHv1 0/3] git-p4: fixing --changes-block-size support Lex Spoon
2015-06-07 16:58 ` Luke Diamand [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55747846.3060305@diamand.org \
--to=luke@diamand.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=lex@lexspoon.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).