Skip to content

Commit

Permalink
update comment to be lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaner committed Feb 13, 2025
1 parent 79a25d5 commit b38040b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sharding/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ func (c *Config) ValidateConfig() error {
type ShardedCopyFilterConfig struct {
// Ghostferry requires an index to be present on sharding key to improve the performance of the data iterator's query.

// `USE` is used by default as part of the index hint i.e. `USE INDEX`.
// `use` is used by default as part of the index hint i.e. `USE INDEX`.
// `USE INDEX` is taken as a suggestion and optimizer can still opt in to use full table scan if it thinks it's faster.
//
// `FORCE` replaces `USE INDEX` with `FORCE INDEX` on the query.
// `force` replaces `USE INDEX` with `FORCE INDEX` on the query.
// `FORCE INDEX` will force the optimizer to use the index and will not consider other options like full table scan.
//
// `NONE` will not use any index hint.
// `none` will not use any index hint.

// See https://dev.mysql.com/doc/refman/8.0/en/index-hints.html for more information on index hints.
IndexHint string // none or force or use
Expand Down

0 comments on commit b38040b

Please sign in to comment.