Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gflags change between v1 and v2] #2501

Closed
whitewum opened this issue Mar 22, 2021 · 2 comments
Closed

[gflags change between v1 and v2] #2501

whitewum opened this issue Mar 22, 2021 · 2 comments
Labels
incompatible PR: incompatible with the recently released version type/bug Type: something is unexpected wontfix Solution: this will not be worked on recently

Comments

@whitewum
Copy link
Contributor

gflag:

clean_wal_interval_secs 1.0配置到gflags.json MUTABLE 2.0 没有配置

accept_partial_success 2.0新增 MUTABLE

meta v1.2: removed 

 -dispatch_thread_num (Number of job dispatch http thread) type: int32      default: 10

-enable_auto_repair (True for auto repair db.) type: bool default: false

-expired_threshold_sec (Hosts will be expired in this time if no heartbeat    received) type: int32 default: 600

-histogram_bucketSize (The width of each bucket) type: int32 default: 1000
-histogram_max (The largest value for the bucket range) type: uint32      default: 1000000
-histogram_min (The smallest value for the bucket range) type: uint32      default: 1
-storage_client_timeout_ms (storage client timeout) type: int32#      default: 60000



meta v2.0 ga add:

-expired_time_factor (The factor of expired time based on heart beat     interval) type: uint32 default: 5

-ft_bulk_batch_size (Max batch size when bulk insert) type: int32      default: 100
-ft_request_retry_times (Retry times if fulltext request failed)      type: int32 default: 3

-listener_commit_batch_size (Max batch size when listener commit)      type: int32 default: 1000
-listener_commit_interval_secs (Listener commit interval) type: int32      default: 1

-move_files (Move the SST files instead of copy when ingest into dataset)     type: bool default: false
-null_type (set schema to support null type) type: bool default: true

-print_info (enable to print the rewrite data) type: bool default: false

-redirect_stdout (Whether to redirect stdout and stderr to separate files)     type: bool default: true

-rocksdb_compact_change_level (If true, compacted files will be moved to    the minimum level capable of holding the data or given level (specified      non-negative target_level).) type: bool default: true
-rocksdb_compact_target_level (If change_level is true and target_level      have non-negative value, compacted files will be moved to target_level.      If change_level is true and target_level is -1, compacted files will be    moved to the minimum level capable of holding the data.) type: int32     default: -1


-stderr_log_file (Destination filename of stderr) type: string      default: "stderr.log"

-stdout_log_file (Destination filename of stdout) type: string      default: "stdout.log"

-string_index_limit (string index key length limit) type: uint32      default: 64

-timezone_file (The file path to the timezone file.) type: string      default: "share/resources/date_time_zonespec.csv"
-timezone_name (The timezone used in current system, only used in nebula      datetime compute won't affect process time (such as log time etc.).)#      type: string default: "UTC+00:00:00"

modifications:

-ws_ip (IP/Hostname to bind to) type: string default: "127.0.0.1" -》 -ws_ip (IP/Hostname to bind to) type: string default: "0.0.0.0"



storage 1.2 removed:

-enable_auto_repair (True for auto repair db.) type: bool default: false

-enable_reservoir_sampling (Will do reservoir sampling if set true.)     type: bool default: false

-histogram_bucketSize (The width of each bucket) type: int32 default: 1000
-histogram_max (The largest value for the bucket range) type: uint32#      default: 1000000
-histogram_min (The smallest value for the bucket range) type: uint32#      default: 1

-max_cell_level (Maximum cell level for geo. [0, 30]) type: uint32#      default: 18
-max_cover_cell_num (Max cell numbers to cover region for geo.)#      type: uint32 default: 18

-max_handlers_per_req (The max handlers used to handle one request)#      type: int32 default: 10

-max_rows_returned_per_lookup (Max rows count returned when lookup vertices#      or edges) type: int32 default: 2147483647
-max_scan_block_size (Max size of a respsonse block) type: int32#      default: 4194304

-min_cell_level (Minimum cell level for geo. [0, 30]) type: uint32#      default: 10

-min_vertices_per_bucket (The min vertices number in one bucket)#      type: int32 default: 3

-reserved_edges_one_vertex (reserve edges for one vertex) type: int32#      default: 1024
-reuse_port (Whether to turn on the SO_REUSEPORT option) type: bool#      default: true

storage 2.0ga new added:

-default_mvcc_ver (vertex/edge version if enable_multi_versions set to#      false.this, has to be more than 0 if toss enabled. because we need lock#      before edge. ) type: uint64 default: 0

-expired_time_factor (The factor of expired time based on heart beat#      interval) type: uint32 default: 5

-ft_bulk_batch_size (Max batch size when bulk insert) type: int32#      default: 100
-ft_request_retry_times (Retry times if fulltext request failed)#      type: int32 default: 3

-listener_commit_batch_size (Max batch size when listener commit)#      type: int32 default: 1000
-listener_commit_interval_secs (Listener commit interval) type: int32#      default: 1
-listener_path (Path for listener, only wal will be saved.if it is not#      empty, data_path will not take effect.) type: string default: ""
-max_concurrent_subtasks (The sub tasks could be invoked simultaneously)#      type: uint32 default: 10

-max_task_concurrency (The tasks number could be invoked simultaneously)#      type: uint32 default: 10

-move_files (Move the SST files instead of copy when ingest into dataset)#      type: bool default: false

-rebuild_index_locked_threshold (The locked threshold will refuse writing.)#      type: int32 default: 1024
-redirect_stdout (Whether to redirect stdout and stderr to separate files)#      type: bool default: true

-rocksdb_compact_change_level (If true, compacted files will be moved to#      the minimum level capable of holding the data or given level (specified#      non-negative target_level).) type: bool default: true
-rocksdb_compact_target_level (If change_level is true and target_level#      have non-negative value, compacted files will be moved to target_level.#      If change_level is true and target_level is -1, compacted files will be#      moved to the minimum level capable of holding the data.) type: int32#      default: -1

-stderr_log_file (Destination filename of stderr) type: string#      default: "stderr.log"

-stdout_log_file (Destination filename of stdout) type: string#      default: "stdout.log"

-storage_client_retry_interval_ms (storage client sleep interval#      milliseconds between retry) type: uint32 default: 1000

-timezone_file (The file path to the timezone file.) type: string#      default: "share/resources/date_time_zonespec.csv"
-timezone_name (The timezone used in current system, only used in nebula#      datetime compute won't affect process time (such as log time etc.).)#      type: string default: "UTC+00:00:00"

-trace_toss (output verbose log of toss) type: bool default: false

graph1.2 removed:

-filter_pushdown (If pushdown the filter to storage.) type: bool     default: true

-histogram_bucketSize (The width of each bucket) type: int32 default: 1000
-histogram_max (The largest value for the bucket range) type: uint32      default: 1000000
-histogram_min (The smallest value for the bucket range) type: uint32     default: 1

-max_cell_level (Maximum cell level for geo. [0, 30]) type: uint32#      default: 18
-max_cover_cell_num (Max cell numbers to cover region for geo.)#      type: uint32 default: 18

-min_cell_level (Minimum cell level for geo. [0, 30]) type: uint32#      default: 10

-trace_go (Whether to dump the detail trace log from one go request)#      type: bool default: false

graph 2.0 ga  new added:

-accept_partial_success (Whether to accept partial success, default false)      type: bool default: false

-enable_optimizer (Whether to enable optimizer) type: bool default: false
-expired_time_factor (The factor of expired time based on heart beat      interval) type: uint32 default: 5

-ft_request_retry_times (Retry times if fulltext request failed)      type: uint32 default: 3

-local_ip (Local ip specified for graphd) type: string default: ""

-max_allowed_statements (Max allowed sequential statements) type: uint32     default: 512
-slow_query_threshold_us (Any query slower than this threshold value will      be considered as a slow query) type: int32 default: 200000
-timezone_file (The file path to the timezone file.) type: string     default: "share/resources/date_time_zonespec.csv"
-timezone_name (The timezone used in current system, only used in nebula      datetime compute won't affect process time (such as log time etc.).)#      type: string default: "UTC+00:00:00"


@whitewum whitewum changed the title [gflags diff between v1 and v2] [gflags change between v1 and v2] Mar 22, 2021
@randomJoe211 randomJoe211 transferred this issue from vesoft-inc/nebula-graph Aug 11, 2021
@CPWstatic CPWstatic added incompatible PR: incompatible with the recently released version wontfix Solution: this will not be worked on recently labels Aug 27, 2021
@Sophie-Xie Sophie-Xie added the type/bug Type: something is unexpected label Aug 30, 2021
@Sophie-Xie
Copy link
Contributor

v1 to v2 incompatible, close

@whitewum
Copy link
Contributor Author

This is used to indicate/instruct upgrade issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incompatible PR: incompatible with the recently released version type/bug Type: something is unexpected wontfix Solution: this will not be worked on recently
Projects
None yet
Development

No branches or pull requests

3 participants