This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
The following commit(s) were added to refs/heads/main by this push:
new 7d8b802480 docs: update skip commit files docs (#670)
7d8b802480 is described below
commit 7d8b8024803e3b259e86e9590d6032abf1336699
Author: abeizn <[email protected]>
AuthorDate: Mon Nov 6 05:09:38 2023 -0600
docs: update skip commit files docs (#670)
* docs: update skip commit files docs
* docs: update in the .env file
---
docs/Plugins/gitextractor.md | 2 ++
docs/Troubleshooting/MySqlIssue.md | 10 +++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/docs/Plugins/gitextractor.md b/docs/Plugins/gitextractor.md
index ac43172d13..b4e4a206fb 100644
--- a/docs/Plugins/gitextractor.md
+++ b/docs/Plugins/gitextractor.md
@@ -15,6 +15,8 @@ This plugin extracts commits and references from a remote or
local git repositor
NOTE: you can run only one issue collection stage as described in the
Github Plugin README.
3. Use the [RefDiff](./refdiff.md) plugin to calculate version diff, which
will be stored in `refs_commits` table.
+Note: If you do not want to collect commit files, you can bypass this step by
setting the SKIP_COMMIT_FILES=true in the .env file. This will prevent the
plugin from collecting commit file data.
+
## Sample Request
```
diff --git a/docs/Troubleshooting/MySqlIssue.md
b/docs/Troubleshooting/MySqlIssue.md
index 0911828790..c05dadf13c 100644
--- a/docs/Troubleshooting/MySqlIssue.md
+++ b/docs/Troubleshooting/MySqlIssue.md
@@ -100,4 +100,12 @@ services:
```
DB_URL=mysql://merico:[email protected]:3306/lake?charset=utf8mb4&parseTime=True&tls=custom&ca-cert=/path/to/your/DigiCertGlobalRootCA.crt.pem
```
- Note: in Python plugins, it will fallback to the `skip-verify` policy.
\ No newline at end of file
+ Note: in Python plugins, it will fallback to the `skip-verify` policy.
+
+### How to skip "subtask collectGitCommits ended unexpectedly, deadlock found
when trying to get lock"?
+When users have large repositories with a substantial number of commit files
to collect, it can lead to the following issues:
+
+ 1. The time to collect Git data is too long
+ 2. Errors occurred while writing data to the DevLake database
+
+To address this, you can bypass this step by setting the
SKIP_COMMIT_FILES=true in the .env file.
\ No newline at end of file