You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/11/06 09:55:30 UTC
(incubator-devlake-website) branch update-commit-files-docs updated: docs: update skip commit files docs
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch update-commit-files-docs
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git
The following commit(s) were added to refs/heads/update-commit-files-docs by this push:
new d46ea6eae0 docs: update skip commit files docs
d46ea6eae0 is described below
commit d46ea6eae0e99a1afc398724b19a4f4a6b5720bc
Author: abeizn <zi...@merico.dev>
AuthorDate: Mon Nov 6 17:55:19 2023 +0800
docs: update skip commit files docs
---
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..bed19fbb03 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 environment variable or .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..9984c9baf9 100644
--- a/docs/Troubleshooting/MySqlIssue.md
+++ b/docs/Troubleshooting/MySqlIssue.md
@@ -100,4 +100,12 @@ services:
```
DB_URL=mysql://merico:merico@lake.mysql.database.azure.com: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 environment variable or .env file.
\ No newline at end of file