Page MenuHomePhabricator

When a large number of commits need to be marked as published, issue the lookup query in chunks
ClosedPublic

Authored by epriestley on Oct 2 2019, 8:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 8:16 AM
Unknown Object (File)
Sun, Feb 9, 8:16 AM
Unknown Object (File)
Sun, Feb 9, 8:16 AM
Unknown Object (File)
Sun, Feb 9, 8:16 AM
Unknown Object (File)
Sun, Jan 26, 10:19 PM
Unknown Object (File)
Sat, Jan 25, 5:56 AM
Unknown Object (File)
Sat, Jan 25, 5:55 AM
Unknown Object (File)
Sat, Jan 25, 5:55 AM
Subscribers
None

Details

Summary

See PHI1474. This query can become large enough to exceed reasonable packet limits. Chunk the query so it is split up if we have too many identifiers.

Test Plan

Ran bin/repository refs ... on a repository with no new commits and a repository with some new commits.

Diff Detail

Repository
rP Phabricator
Branch
ref1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23540
Build 32351: Run Core Tests
Build 32350: arc lint + arc unit