-
Notifications
You must be signed in to change notification settings - Fork 26
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
add forceTcp and keepSocket options #324
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
chyt={ | ||
"address_resolver"={ | ||
"enable_ipv4"=%true; | ||
"enable_ipv6"=%true; | ||
"enable_ipv6"=%false; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cause of
and maybe it should be done another way There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So it was hardcoded for strawberry, but now it is configured according to the common value, ok There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On a second thought that may be backward incompatible change and maybe we need to think here more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So users, who have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose we can describe breaking changes in the next release about strawberry ipv4/6. |
||
retries=1000; | ||
}; | ||
}; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
{ | ||
"address_resolver"={ | ||
"enable_ipv4"=%true; | ||
"enable_ipv6"=%false; | ||
"keep_socket"=%true; | ||
"force_tcp"=%true; | ||
retries=1000; | ||
}; | ||
"solomon_exporter"={ | ||
host="{POD_SHORT_HOSTNAME}"; | ||
"instance_tags"={ | ||
pod="{K8S_POD_NAME}"; | ||
}; | ||
}; | ||
logging={ | ||
writers={ | ||
debug={ | ||
type=file; | ||
"file_name"="/var/log/master.debug.log.zstd"; | ||
format="plain_text"; | ||
"compression_method"=zstd; | ||
"enable_compression"=%true; | ||
"enable_system_messages"=%true; | ||
"rotation_policy"={ | ||
"rotation_period"=900000; | ||
"max_total_size_to_keep"=10737418240; | ||
}; | ||
}; | ||
error={ | ||
type=file; | ||
"file_name"="/var/log/master.error.log"; | ||
format="plain_text"; | ||
"enable_system_messages"=%true; | ||
}; | ||
info={ | ||
type=file; | ||
"file_name"="/var/log/master.info.log"; | ||
format="plain_text"; | ||
"enable_system_messages"=%true; | ||
}; | ||
}; | ||
rules=[ | ||
{ | ||
"min_level"=info; | ||
writers=[ | ||
info; | ||
]; | ||
family="plain_text"; | ||
}; | ||
{ | ||
"min_level"=error; | ||
writers=[ | ||
error; | ||
]; | ||
family="plain_text"; | ||
}; | ||
{ | ||
"exclude_categories"=[ | ||
Bus; | ||
]; | ||
"min_level"=debug; | ||
writers=[ | ||
debug; | ||
]; | ||
family="plain_text"; | ||
}; | ||
]; | ||
"flush_period"=3000; | ||
}; | ||
"monitoring_port"=10010; | ||
"rpc_port"=9010; | ||
"timestamp_provider"={ | ||
addresses=[ | ||
"ms-test-0.masters-test.fake.svc.fake.zone:9010"; | ||
]; | ||
}; | ||
"cluster_connection"={ | ||
"cluster_name"=test; | ||
"primary_master"={ | ||
addresses=[ | ||
"ms-test-0.masters-test.fake.svc.fake.zone:9010"; | ||
]; | ||
peers=[ | ||
{ | ||
address="ms-test-0.masters-test.fake.svc.fake.zone:9010"; | ||
voting=%true; | ||
}; | ||
]; | ||
"cell_id"="65726e65-ad6b7562-259-79747361"; | ||
}; | ||
"discovery_connection"={ | ||
addresses=[ | ||
"ds-test-0.discovery-test.fake.svc.fake.zone:9020"; | ||
"ds-test-1.discovery-test.fake.svc.fake.zone:9020"; | ||
"ds-test-2.discovery-test.fake.svc.fake.zone:9020"; | ||
]; | ||
}; | ||
"master_cache"={ | ||
addresses=[ | ||
"msc-test-0.master-caches-test.fake.svc.fake.zone:9018"; | ||
"msc-test-1.master-caches-test.fake.svc.fake.zone:9018"; | ||
"msc-test-2.master-caches-test.fake.svc.fake.zone:9018"; | ||
]; | ||
"cell_id"="65726e65-ad6b7562-259-79747361"; | ||
"enable_master_cache_discovery"=%false; | ||
}; | ||
}; | ||
"cypress_annotations"={ | ||
"k8s_node_name"="{K8S_NODE_NAME}"; | ||
"k8s_pod_name"="{K8S_POD_NAME}"; | ||
"k8s_pod_namespace"="{K8S_POD_NAMESPACE}"; | ||
"physical_host"="{K8S_NODE_NAME}"; | ||
}; | ||
snapshots={ | ||
path="/yt/master-data/master-snapshots"; | ||
}; | ||
changelogs={ | ||
path="/yt/master-data/master-changelogs"; | ||
}; | ||
"use_new_hydra"=%true; | ||
"hydra_manager"={ | ||
"max_changelog_count_to_keep"=10; | ||
"max_snapshot_count_to_keep"=1543; | ||
}; | ||
"cypress_manager"={ | ||
"default_table_replication_factor"=1; | ||
"default_file_replication_factor"=1; | ||
"default_journal_replication_factor"=1; | ||
"default_journal_read_quorum"=1; | ||
"default_journal_write_quorum"=1; | ||
}; | ||
"primary_master"={ | ||
addresses=[ | ||
"ms-test-0.masters-test.fake.svc.fake.zone:9010"; | ||
]; | ||
peers=[ | ||
{ | ||
address="ms-test-0.masters-test.fake.svc.fake.zone:9010"; | ||
voting=%true; | ||
}; | ||
]; | ||
"cell_id"="65726e65-ad6b7562-259-79747361"; | ||
}; | ||
"secondary_masters"=[ | ||
]; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
force_tcp - false
keep_socket - true
cause of https://github.com/ytsaurus/ytsaurus/blob/b41294f14e346c455b1d69d268b029a5d07f71f5/yt/yt/core/dns/config.cpp#L21-L24