1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 23:32:40 +01:00
phorge-phorge/src/applications/repository
epriestley 881d79c1ea When dirtying repository cluster routing caches after an Almanac edit, discover linked bindings from devices
Summary:
See PHI1030. When you edit an Almanac object, we attempt to discover all the related objects so we can dirty the repository cluster routing cache: if you modify a Device or Service that's part of a clustered repository, we need to blow away our cached view of the layout.

Currently, we don't correctly find linked Bindings when editing a Device, so we may miss Services which have keys that need to be disabled. Instead, discover these linked objects.

See D17000 for the original implementation and more context.

Test Plan:
  - Used `var_dump()` to dump out the discovered objects and dirtied cache keys.
  - Before change: editing a Service dirties repository routing keys (this is correct), but editing a Device does not.
  - After change: editing a Device now correctly dirties repository routing keys.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D20003
2019-01-21 10:32:48 -08:00
..
codex When destorying a repository, print a notification about removing the working copy 2017-08-01 08:57:39 -07:00
conduit Update Diffusion conduit text 2017-07-02 14:25:10 +00:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Simplify Create Repository page 2017-08-15 11:05:50 -07:00
customfield Move various other callsites away from callsigns 2016-01-04 06:54:42 -08:00
daemon Fix spelling 2017-10-09 10:48:04 -07:00
data Fix spelling 2017-10-09 10:48:04 -07:00
editor Modularize Repository transactions 2018-11-28 14:29:18 -08:00
engine Assign RepositoryIdentity objects to commits 2018-05-31 07:28:23 -07:00
graphcache Bail out of PhabricatorRepositoryGraphCache more aggressively after cache fills 2017-10-06 14:12:58 -07:00
mail Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
management Give "Autoclose Only" repository detail proper getters/setters 2018-12-10 10:22:06 -08:00
phid Add an intracluster synchronization log for cluster repositories 2018-11-07 18:24:20 -08:00
query Support reading and querying Almanac service PHIDs via "diffusion.repository.search" 2018-12-06 07:46:36 -08:00
response Accept and route VCS HTTP requests 2013-10-29 15:32:40 -07:00
search Add controllers/search/edit engine functionality to RepositoryIdentity 2018-05-31 07:03:25 -07:00
storage When dirtying repository cluster routing caches after an Almanac edit, discover linked bindings from devices 2019-01-21 10:32:48 -08:00
worker Remove "metamta.*.subject-prefix" options 2019-01-17 19:18:50 -08:00
xaction Give "Track Only" repository detail proper getters/setters 2018-12-10 10:22:37 -08:00