We're upwards of 10x that, currently at ~120k lines, and will likely at minimum double it as we continue migrating to Perforce. I can definitely reduce the protect line count with smart use of groups, but did a 1:1 port of our old ACL model to Perforce that explicitly adds and removes access for individual users. We're very ACL heavy, and need to let users control the ACLs themselves via an overlay that generates protect table lines under delegated paths. We did run into protects table related performance issues with git-fusion, and patched git-fusion to reduce the number of checks it runs that process the protect table on each iteration. I suspect we'll run into it on p4d itself eventually as well.
A big reason we're moving this depot to a new instance is because we need to allow access to the triggers table to a group of admins, which will be editing the triggers table as needed for automation surrounding change.
Originally, this was going to be a stand-alone instance, but global changelists and not replicating/reconciling users across both instances won out. I'll have to read more about a commit/edge architecture to see if it's a decent fit. If it is, we can probably migrate to it. If for any reason the current architecture causes issues, we're going to break the two instances fully apart and keep the new instance completely discrete.
For p4 administration - we're currently provisioned with the SDP, which was a great time saver to get up and running, but I'm finding has some major issues (straight up bugs) when getting creative with the architecture. I'm in the process of adding everything to ansible so we can easily reproduce the architecture, check for config drift, and have defined state vs. trusting the SDP generated scripts. Though, I will be leveraging the SDP and templating it so we can still use the built in scripts.
The plan is to upgrade to the latest p4d for the automatic failover - it looks awesome, with the only limitation being how p4 port is re-pointed. I'll let you know how it goes once I get to it.
mcruMember Since 30 Nov 2016
Offline Last Active Today, 02:26 AM
- Group Members
- Active Posts 67
- Profile Views 3632
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown