gerrit/gerrit-server/src/main/java/com/google/gerrit/server
Dave Borowitz 8f1dc546c1 GC All-Users after migrating to NoteDb
The NoteDb migration writes many loose objects to All-Users, since this
is the simplest way to write data to All-Users with high parallelism.
However, this results in poor performance of the All-Users repo
immediately after migration, for example taking tens of seconds to load
each account on GerritForge's server.

Work around this by running GC immediately after the migration process,
both offline and online. This is not perfect, because it is not
represented by a NotesMigrationState enum value, meaning the GC will not
be resumed if the server is uncleanly shut down during the process. (As
with all GCs, this should not result in repo corruption.)

Change-Id: Iffc89e1c125ef5db57298daccabd7e1fe4af8d27
2018-03-19 09:33:21 -04:00
..
access Add a groups map ProjectAccessInfo. 2017-08-30 16:58:00 +02:00
account Merge branch 'stable-2.14' into stable-2.15 2018-03-14 22:06:01 +09:00
api ProjectApi: Add method to remove default dashboard 2017-10-01 15:44:53 +01:00
args4j Merge branch 'stable-2.14' into stable-2.15 2018-03-10 13:31:08 +00:00
auth Exclude local gerrit accounts from scheduled deactivation task 2017-11-24 00:41:57 +00:00
avatar Add avatar URL setter to AvatarProvider interface 2017-08-30 15:57:54 +09:00
cache
change Skip migrating inline comments on missing patch set parents 2018-03-16 13:44:25 -04:00
config Merge branch 'stable-2.14' into stable-2.15 2018-03-14 22:06:01 +09:00
data Populate ChangeAttribute with WIP and private status. 2017-12-19 17:36:50 +01:00
documentation
edit Discontinue draft workflow 2017-09-30 15:47:14 +02:00
events Don't log a stacktrace when reading a LargeObjectTombstone 2018-02-24 09:53:12 +01:00
extensions Make PrivateStateChanged and WorkInProgressStateChanged singletons 2018-03-06 16:30:17 +09:00
fixes Consistently import utility methods from Collectors as static 2017-12-15 17:29:52 +09:00
git Merge branch 'stable-2.14' into stable-2.15 2018-03-14 22:06:01 +09:00
group Cache groups by member outside of the account cache 2018-02-21 08:10:41 +01:00
index Do not abort indexing if < 50% projects failed 2018-03-15 22:12:32 +00:00
ioutil Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
mail Skip migrating inline comments on missing patch set parents 2018-03-16 13:44:25 -04:00
mime Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
notedb GC All-Users after migrating to NoteDb 2018-03-19 09:33:21 -04:00
patch Make ChangeControl package-private 2018-02-24 12:25:41 +01:00
permissions LabelNormalizer: stop squashing based on permitted range 2018-02-21 08:27:32 -05:00
plugins Fix IndexCollection propagation into plugin guice injectors 2018-02-19 23:26:56 +01:00
project Log the reason why a project cannot be found 2018-03-16 17:33:24 +00:00
query Make ChangeControl package-private 2018-02-24 12:25:41 +01:00
schema Widen set of My Drafts menus that are automatically removed 2018-03-14 17:32:33 -04:00
securestore Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
ssh Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
tools
update Suppress warnings about deprecated CheckedFuture 2017-11-21 10:24:26 +09:00
util Upgrade Guava to 22.0 2017-11-02 19:10:14 +00:00
validators
AccessPath.java
AnonymousUser.java Remove CapabilityControl from CurrentUser 2017-06-21 19:51:20 +09:00
ApprovalCopier.java LabelNormalizer: Remove unused fields and exceptions 2018-02-21 08:27:32 -05:00
ApprovalsUtil.java ApprovalsUtil: Use ChangeNotes and CurrentUser instead of ChangeControl 2017-09-12 07:59:13 +00:00
ChangeFinder.java Merge branch 'stable-2.14' into stable-2.15 2017-10-19 16:23:41 +09:00
ChangeMessagesUtil.java Downgrade default notify for bots on all comments 2017-06-22 10:08:46 -07:00
ChangeUtil.java Limit the maximum length of topic 2017-09-15 10:46:18 +02:00
CmdLineParserModule.java
CommentsUtil.java Skip migrating inline comments on missing patch set parents 2018-03-16 13:44:25 -04:00
CommonConverters.java
CurrentUser.java CurrentUser: Add isImpersonating method 2017-10-27 16:41:07 -04:00
DynamicOptions.java DynamicOptions: Fix type safety warning 2017-10-01 21:07:42 +00:00
EnableSignedPush.java
GerritPersonIdent.java
GerritPersonIdentProvider.java Remove more finals from method signatures 2017-06-14 09:39:19 +02:00
GpgException.java
IdentifiedUser.java CurrentUser: Add isImpersonating method 2017-10-27 16:41:07 -04:00
InternalUser.java Remove CapabilityControl from CurrentUser 2017-06-21 19:51:20 +09:00
LibModuleLoader.java
OptionUtil.java
OutputFormat.java
PatchSetUtil.java Discontinue draft workflow 2017-09-30 15:47:14 +02:00
PeerDaemonUser.java Remove CapabilityControl from CurrentUser 2017-06-21 19:51:20 +09:00
PluginUser.java Remove CapabilityControl from CurrentUser 2017-06-21 19:51:20 +09:00
ProjectUtil.java Allow to create a change for the initial commit of refs/meta/config 2017-08-18 15:56:11 +02:00
RemotePeer.java
RequestCleanup.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
ReviewerByEmailSet.java
ReviewerRecommender.java Merge branch 'stable-2.14' into stable-2.15 2018-02-08 14:40:43 +09:00
ReviewerSet.java
ReviewerStatusUpdate.java
ReviewersUtil.java Reduce usage of ProjectControl 2017-08-30 10:17:32 +02:00
Sequences.java Trigger GitReferenceUpdated event when account or change sequence is updated 2017-10-05 16:07:54 +02:00
StarredChangesUtil.java StarredChangesUtil: Handle unexpected format of reviewed/unreviewed labels 2017-10-06 12:51:16 +02:00
StartupCheck.java
StartupChecks.java
StartupException.java
StringUtil.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
UrlEncoded.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
WebLinks.java Merge branch 'stable-2.14' into stable-2.15 2017-10-03 09:03:47 +01:00