<commit_before>= MigrateAccountPatchReviewDb

== NAME
MigrateAccountPatchReviewDb - Migrates account patch review db from one database
backend to another.

== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war MigrateAccountPatchReviewDb
  -d <SITE_PATH>
  [--sourceUrl] [--chunkSize]
--

== DESCRIPTION
Migrates AccountPatchReviewDb from one database backend to another. The
AccountPatchReviewDb is a database used to store the user file reviewed flags.

This task is only intended to be run if the configuration parameter
link:config-gerrit.html#accountPatchReviewDb.url[accountPatchReviewDb.url]
is set or changed.

To migrate AccountPatchReviewDb:

* Stop Gerrit
* Configure new value for link:config-gerrit.html#accountPatchReviewDb.url[accountPatchReviewDb.url]
* Migrate data using this task
* Start Gerrit

== OPTIONS

-d::
--sourceUrl::
	Url of source database. Only need to be specified if the source is not H2.

--chunkSize::
	Chunk size of fetching from source and pushing to target on each time.<commit_msg>Fix documentation nits in pgm-MigrateAccountPatchReviewDb.txt<commit_after>= MigrateAccountPatchReviewDb

== NAME
MigrateAccountPatchReviewDb - Migrates account patch review db from one database
backend to another.

== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war MigrateAccountPatchReviewDb
  -d <SITE_PATH>
  [--sourceUrl] [--chunkSize]
--

== DESCRIPTION
Migrates AccountPatchReviewDb from one database backend to another. The
AccountPatchReviewDb is a database used to store the user file reviewed flags.

This command is only intended to be run if the configuration parameter
link:config-gerrit.html#accountPatchReviewDb.url[accountPatchReviewDb.url]
is set or changed.

To migrate AccountPatchReviewDb:

* Stop Gerrit
* Configure new value for link:config-gerrit.html#accountPatchReviewDb.url[accountPatchReviewDb.url]
* Migrate data using this command
* Start Gerrit

== OPTIONS

-d::
--sourceUrl::
	Url of source database. Only need to be specified if the source is not H2.

--chunkSize::
	Chunk size of fetching from source and pushing to target on each time.
{'fraction_non_alphanumeric': 0.06929740134744947, 'fraction_numerical': 0.0009624639076034649, 'mean_word_length': 4.991354466858789, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1555537', 'n_tokens_mistral': 628, 'n_tokens_neox': 601, 'n_words': 229}