Jump to content

Miles O'Neal

Member Since 28 Oct 2014
Offline Last Active Dec 05 2019 11:18 PM

Topics I've Started

config: startup pull batch logic

27 November 2019 - 05:26 PM

I can't find any documentation about how pull, --batch, --min-size, and --max-size work under the covers.

Let's use a modified version of the example from Perforce's documentation:

startup.2=pull -u -i 1 --batch=1000 --min-size=1    --max-size=2047
startup.3=pull -u -i 1 --batch=500  --min-size=2048 --max-size=4096
startup.4=pull -u -i 1 --batch=10   --min-size=4097

If pull thread 1 gets 100 files of the right size, but file 101 is too big, does pull thread 1 just go copy the 100 it already found, or skip file 101 and keep trying to get 1000 files into its job?

non-superusers editing groups in p4admin

15 October 2019 - 09:17 PM

I want to verify that this should just work.
I got a report that it wasn't working for a user who is clearly an owner of the group in question.
It works fine for me if I become him and run p4v/p4admin.
It works fine for me if I become him and run "p4 group -a".

I have a query in to verify he is logged in as himself in p4v but wondered if there was anything else to look for.

Where can I find full release notes for p4d?

06 September 2019 - 02:33 PM

I need to see if a specific bug was fixed, and if so, in which release.

replica: switch between read-only and forward?

04 September 2019 - 03:52 PM

Is there a simple way to switch between these two server types? Changing the service field in the server spec doesn't seem to do it.


Protects table usage statistics

15 August 2019 - 09:25 PM

Is the any visibility into protects table usage? We have a fairly complex protects table, which I want to optimize for performance (without breaking authorization). It would be nice to have real data as to which rules are applied the most, or what paths are tested the most times. I might be able to pull a very rough approximation out of the logs testing client names as well as depot and disk paths, but that's really kludgey and, I suspect, not real accurate.

Am I missing some built-in functionality? Is there another tool to help with this? I toyed with the p4 log analyzer but that is slow (we have large logs) and takes a lot of space if we want to track data over time. It's useful for some things, and I would consider it for this, but it doesn't excite me for this purpose.