1
1
# Properties file for violation detection tool configuration.
2
2
3
- # Path of AWS credentials file. For security reason, we do not ask for
3
+ # Path of AWS credentials file. For security reason, we do not ask for
4
4
# access key or range key directly.
5
5
awsCredentialsFile = ./config/credentials
6
6
@@ -20,7 +20,7 @@ gsiHashKeyName = gsiHashKeyName
20
20
# Valid values: N, S, B
21
21
gsiHashKeyType = gsiHashKeyType
22
22
23
- # GSI range key name.
23
+ # GSI range key name.
24
24
# Use this option only if GSI range key will be checked.
25
25
# Remove trailing spaces if they are not part of the name
26
26
gsiRangeKeyName = gsiRangeKeyName
@@ -30,7 +30,7 @@ gsiRangeKeyName = gsiRangeKeyName
30
30
# Valid values: N, S, B
31
31
gsiRangeKeyType = gsiRangeKeyType
32
32
33
- # 'true' to record violation details to output file. 'false' to only provide
33
+ # 'true' to record violation details to output file. 'false' to only provide
34
34
# the number of violations.
35
35
# Valid: 'true' or 'false'.
36
36
# Default value: 'true'.
@@ -42,43 +42,44 @@ recordDetails = true
42
42
# Default value: 'false'
43
43
recordGsiValueInViolationRecord = false
44
44
45
- # Output path of detection output file. Supports both local directory
45
+ # Output path of detection output file. Supports both local directory
46
46
# and S3 path with filename ending with '.csv'
47
47
# Example:
48
48
# Local file: //local/path/myoutput.csv
49
49
# S3 path: s3://bucket/myoutput.csv
50
50
# Default value: ./violation_detection.csv
51
51
detectionOutputPath = ./gsi_violation_check.csv
52
52
53
- # Number of segments indicates the number of threads that will be created for parallel scan.
54
- # If = 1, sequential scan will be used; If > 1, parallel scan will be used.
53
+ # Number of segments indicates the number of threads that will be created for parallel scan.
54
+ # If = 1, sequential scan will be used; If > 1, parallel scan will be used.
55
55
# Valid: 1 ~ 4096.
56
56
# Default value: 1.
57
57
numOfSegments = 1
58
58
59
- # Number of violations to be scanned. Scan will stop when given number of
60
- # violations are found.
59
+ # Number of violations to be scanned. Scan will stop when given number of
60
+ # violations are found.
61
61
# This is optional. Default value will be used when commented.
62
- # Default value: -1, will scan the entire table.
62
+ # Default value: -1, will scan the entire table.
63
63
numOfViolations = -1
64
64
65
65
# Number of records to be scanned. Scan will stop when given number of items
66
66
# are scanned.
67
67
# This is optional. Default value will be used when commented.
68
- # Default value: -1, will scan the entire table.
68
+ # Default value: -1, will scan the entire table.
69
69
numOfRecords = -1
70
70
71
71
# Percentage of provisioned read/write IOPS of the table that scan/update
72
72
# (delete) operations will use during detection/correction.
73
73
# This is optional. Default value will be used when commented.
74
- # Valid: 1 ~ 100, integer.
74
+ # NOTE: If On Demand mode is used, then this number is taken as the IOPS rate to use.
75
+ # Valid: 1 ~ 100, integer.
75
76
# Default value: 25.
76
77
readWriteIOPSPercent = 25
77
78
78
79
# Input file path for violation correction
79
80
correctionInputPath = ./gsi_violation_check.csv
80
81
81
- # Output file path for violation correction in update mode.
82
+ # Output file path for violation correction in update mode.
82
83
# It is generated only if there are update errors.
83
84
# Supports both local directory and S3 path with filename ending with '.csv'.
84
85
# Example:
0 commit comments