Skip to content

Commit

Permalink
fix: mysql 5.7 use independent cc (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
kizuna-lek authored Oct 18, 2024
1 parent 7ba24ff commit 3913852
Show file tree
Hide file tree
Showing 9 changed files with 1,531 additions and 6 deletions.
1,102 changes: 1,102 additions & 0 deletions addons/mysql/config/mysql5.7-config-constraint.cue

Large diffs are not rendered by default.

362 changes: 362 additions & 0 deletions addons/mysql/config/mysql5.7-config-effect-scope.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,362 @@
dynamicParameters:
- auto_increment_increment
- auto_increment_offset
- autocommit
- automatic_sp_privileges
- big_tables
- binlog_cache_size
- binlog_checksum
- binlog_direct_non_transactional_updates
- binlog_error_action
- binlog_format
- binlog_group_commit_sync_delay
- binlog_group_commit_sync_no_delay_count
- binlog_order_commits
- binlog_row_image
- binlog_rows_query_log_events
- binlog_stmt_cache_size
- block_encryption_mode
- bulk_insert_buffer_size
- character_set_client
- character_set_connection
- character_set_database
- character_set_filesystem
- character_set_results
- character_set_server
- check_proxy_users
- collation_connection
- collation_database
- collation_server
- completion_type
- concurrent_insert
- connect_timeout
- debug_sync
- default_storage_engine
- default_tmp_storage_engine
- default_week_format
- delay_key_write
- div_precision_increment
- end_markers_in_json
- eq_range_index_dive_limit
- event_scheduler
- expire_logs_days
- flush
- flush_time
- foreign_key_checks
- ft_boolean_syntax
- general_log
- general_log_file
- group_concat_max_len
- host_cache_size
- init_connect
- innodb_adaptive_flushing
- innodb_adaptive_flushing_lwm
- innodb_adaptive_hash_index
- innodb_adaptive_max_sleep_delay
- innodb_api_bk_commit_interval
- innodb_api_trx_level
- innodb_autoextend_increment
- innodb_buffer_pool_dump_at_shutdown
- innodb_buffer_pool_dump_now
- innodb_buffer_pool_dump_pct
- innodb_buffer_pool_filename
- innodb_buffer_pool_load_abort
- innodb_buffer_pool_load_now
- innodb_buffer_pool_size
- innodb_change_buffer_max_size
- innodb_change_buffering
- innodb_change_buffering_debug
- innodb_checksum_algorithm
- innodb_cmp_per_index_enabled
- innodb_commit_concurrency
- innodb_compress_debug
- innodb_compression_failure_threshold_pct
- innodb_compression_level
- innodb_compression_pad_pct_max
- innodb_concurrency_tickets
- innodb_default_row_format
- innodb_disable_resize_buffer_pool_debug
- innodb_disable_sort_file_cache
- innodb_fast_shutdown
- innodb_fil_make_page_dirty_debug
- innodb_file_per_table
- innodb_fill_factor
- innodb_flush_log_at_timeout
- innodb_flush_log_at_trx_commit
- innodb_flush_neighbors
- innodb_flush_sync
- innodb_flushing_avg_loops
- innodb_ft_aux_table
- innodb_ft_enable_diag_print
- innodb_ft_enable_stopword
- innodb_ft_num_word_optimize
- innodb_ft_result_cache_limit
- innodb_ft_server_stopword_table
- innodb_ft_user_stopword_table
- innodb_io_capacity
- innodb_io_capacity_max
- innodb_limit_optimistic_insert_debug
- innodb_lock_wait_timeout
- innodb_log_checkpoint_now
- innodb_log_checksums
- innodb_log_compressed_pages
- innodb_log_write_ahead_size
- innodb_lru_scan_depth
- innodb_max_dirty_pages_pct
- innodb_max_dirty_pages_pct_lwm
- innodb_max_purge_lag
- innodb_max_purge_lag_delay
- innodb_max_undo_log_size
- innodb_merge_threshold_set_all_debug
- innodb_monitor_disable
- innodb_monitor_enable
- innodb_monitor_reset
- innodb_monitor_reset_all
- innodb_old_blocks_pct
- innodb_old_blocks_time
- innodb_online_alter_log_max_size
- innodb_optimize_fulltext_only
- innodb_print_all_deadlocks
- innodb_purge_batch_size
- innodb_purge_rseg_truncate_frequency
- innodb_random_read_ahead
- innodb_read_ahead_threshold
- innodb_replication_delay
- innodb_rollback_segments
- innodb_saved_page_number_debug
- innodb_spin_wait_delay
- innodb_stats_auto_recalc
- innodb_stats_method
- innodb_stats_on_metadata
- innodb_stats_persistent
- innodb_stats_persistent_sample_pages
- innodb_stats_transient_sample_pages
- innodb_status_output
- innodb_status_output_locks
- innodb_strict_mode
- innodb_sync_spin_loops
- innodb_table_locks
- innodb_thread_concurrency
- innodb_thread_sleep_delay
- innodb_trx_purge_view_update_only_debug
- innodb_trx_rseg_n_slots_debug
- innodb_undo_log_truncate
- interactive_timeout
- internal_tmp_disk_storage_engine
- keep_files_on_create
- key_buffer_size
- key_cache_age_threshold
- key_cache_block_size
- key_cache_division_limit
- lc_messages
- lc_time_names
- local_infile
- lock_wait_timeout
- log_bin_trust_function_creators
- log_bin_use_v1_row_events
- log_builtin_as_identified_by_password
- log_error_verbosity
- log_output
- log_queries_not_using_indexes
- log_slow_admin_statements
- log_syslog_facility
- log_syslog_include_pid
- log_syslog_tag
- log_throttle_queries_not_using_indexes
- log_timestamps
- long_query_time
- low_priority_updates
- master_verify_checksum
- max_allowed_packet
- max_binlog_cache_size
- max_binlog_size
- max_binlog_stmt_cache_size
- max_connect_errors
- max_connections
- max_error_count
- max_execution_time
- max_heap_table_size
- max_join_size
- max_length_for_sort_data
- max_points_in_geometry
- max_prepared_stmt_count
- max_sort_length
- max_sp_recursion_depth
- max_user_connections
- min_examined_row_limit
- myisam_data_pointer_size
- myisam_sort_buffer_size
- myisam_stats_method
- myisam_use_mmap
- mysql_native_password_proxy_users
- net_buffer_length
- net_read_timeout
- net_retry_count
- net_write_timeout
- offline_mode
- old_alter_table
- optimizer_prune_level
- optimizer_search_depth
- optimizer_trace
- optimizer_trace_features
- optimizer_trace_limit
- optimizer_trace_max_mem_size
- optimizer_trace_offset
- preload_buffer_size
- pseudo_slave_mode
- pseudo_thread_id
- query_alloc_block_size
- query_prealloc_size
- rand_seed1
- range_alloc_block_size
- rbr_exec_mode
- read_buffer_size
- read_only
- read_rnd_buffer_size
- require_secure_transport
- rpl_semi_sync_master_enabled
- rpl_semi_sync_master_timeout
- rpl_semi_sync_master_trace_level
- rpl_semi_sync_master_wait_for_slave_count
- rpl_semi_sync_master_wait_no_slave
- rpl_semi_sync_master_wait_point
- session_track_gtids
- session_track_schema
- session_track_state_change
- session_track_system_variables
- session_track_transaction_info
- sha256_password_proxy_users
- slow_launch_time
- slow_query_log
- slow_query_log_file
- sql_auto_is_null
- sql_big_selects
- sql_buffer_result
- sql_log_bin
- sql_log_off
- sql_mode
- sql_notes
- sql_quote_show_create
- sql_safe_updates
- sql_select_limit
- sql_warnings
- stored_program_cache
- super_read_only
- sync_binlog
- table_definition_cache
- table_open_cache
- thread_cache_size
- time_zone
- timestamp
- tmp_table_size
- transaction_alloc_block_size
- transaction_prealloc_size
- transaction_write_set_extraction
- unique_checks
- updatable_views_with_limit
immutableParameters:
- auto_generate_certs
- basedir
- character_sets_dir
- datadir
- disabled_storage_engines
- init_file
- innodb_data_file_path
- innodb_doublewrite
- innodb_force_load_corrupted
- innodb_log_files_in_group
- innodb_page_size
- innodb_read_only
- innodb_temp_data_file_path
- log_bin
- log_bin_index
- log_slave_updates
- mecab_rc_file
- open_files_limit
- plugin_dir
- protocol_version
- secure_file_priv
- sha256_password_private_key_path
- skip_external_locking
- ssl_key
- thread_handling
- tmpdir
- version_compile_machine
staticParameters:
- back_log
- bind_address
- character_set_system
- core_file
- default_authentication_plugin
- disconnect_on_expired_password
- external_user
- ft_max_word_len
- ft_min_word_len
- ft_query_expansion_limit
- ft_stopword_file
- have_ssl
- have_statement_timeout
- hostname
- innodb_adaptive_hash_index_parts
- innodb_api_disable_rowlock
- innodb_api_enable_binlog
- innodb_api_enable_mdl
- innodb_autoinc_lock_mode
- innodb_buffer_pool_chunk_size
- innodb_buffer_pool_instances
- innodb_buffer_pool_load_at_startup
- innodb_data_home_dir
- innodb_flush_method
- innodb_force_recovery
- innodb_ft_cache_size
- innodb_ft_max_token_size
- innodb_ft_min_token_size
- innodb_ft_sort_pll_degree
- innodb_ft_total_cache_size
- innodb_log_buffer_size
- innodb_log_file_size
- innodb_log_group_home_dir
- innodb_numa_interleave
- innodb_open_files
- innodb_page_cleaners
- innodb_purge_threads
- innodb_read_io_threads
- innodb_rollback_on_timeout
- innodb_sort_buffer_size
- innodb_sync_array_size
- innodb_sync_debug
- innodb_undo_directory
- innodb_use_native_aio
- innodb_write_io_threads
- large_files_support
- large_page_size
- lc_messages_dir
- license
- locked_in_memory
- log_bin_basename
- log_error
- lower_case_file_system
- max_digest_length
- myisam_mmap_size
- myisam_recover_options
- ngram_token_size
- old
- pid_file
- port
- proxy_user
- sha256_password_auto_generate_rsa_keys
- sha256_password_public_key_path
- skip_name_resolve
- skip_networking
- skip_show_database
- ssl_ca
- ssl_capath
- ssl_cert
- ssl_cipher
- ssl_crl
- ssl_crlpath
- system_time_zone
- table_open_cache_instances
- thread_stack
- version_comment
- version_compile_os
2 changes: 1 addition & 1 deletion addons/mysql/templates/cmpd-mysql57-orc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
configs:
- name: mysql-replication-config
templateRef: mysql-5.7-config-template
constraintRef: mysql-config-constraints
constraintRef: mysql-5.7-config-constraints
volumeName: mysql-config
namespace: {{ .Release.Namespace }}
reRenderResourceTypes:
Expand Down
2 changes: 1 addition & 1 deletion addons/mysql/templates/cmpd-mysql57.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
configs:
- name: mysql-replication-config
templateRef: mysql-5.7-config-template
constraintRef: mysql-config-constraints
constraintRef: mysql-5.7-config-constraints
volumeName: mysql-config
namespace: {{ .Release.Namespace }}
reRenderResourceTypes:
Expand Down
2 changes: 1 addition & 1 deletion addons/mysql/templates/cmpd-mysql80-orc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
configs:
- name: mysql-replication-config
templateRef: mysql-8.0-config-template
constraintRef: mysql-config-constraints
constraintRef: mysql-8.0-config-constraints
volumeName: mysql-config
namespace: {{ .Release.Namespace }}
reRenderResourceTypes:
Expand Down
2 changes: 1 addition & 1 deletion addons/mysql/templates/cmpd-mysql80.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
configs:
- name: mysql-replication-config
templateRef: mysql-8.0-config-template
constraintRef: mysql-config-constraints
constraintRef: mysql-8.0-config-constraints
volumeName: mysql-config
namespace: {{ .Release.Namespace }}
reRenderResourceTypes:
Expand Down
Loading

0 comments on commit 3913852

Please sign in to comment.