diff options
author | Luke Chen <luke.chen@mongodb.com> | 2022-09-20 14:57:18 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-20 05:19:14 +0000 |
commit | 0177b3d9c4472033df800a247ff5af28abe8169e (patch) | |
tree | 69f80fa67c2ae7a6f5cb18d30514b5f33dbb8b7d | |
parent | 6ed754b0f4b4eb29c74d5b942e1b7ee005e91ed6 (diff) | |
download | mongo-0177b3d9c4472033df800a247ff5af28abe8169e.tar.gz |
Import wiredtiger: e868ffed8aa1e49240fecce1e472ef7a03482a6d from branch mongodb-4.4
ref: 315f1424f9..e868ffed8a
for: 4.4.17
WT-9302 Deprecated object_target_size as a config in api_data.py (#8029) (#8146)
-rw-r--r-- | src/third_party/wiredtiger/dist/api_data.py | 7 | ||||
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/config/config_def.c | 106 | ||||
-rw-r--r-- | src/third_party/wiredtiger/src/include/wiredtiger.in | 6 | ||||
-rwxr-xr-x | src/third_party/wiredtiger/test/evergreen.yml | 2 | ||||
-rwxr-xr-x | src/third_party/wiredtiger/test/suite/test_tiered05.py | 3 |
6 files changed, 61 insertions, 65 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py index d1dd74a4d4b..4a4b4d16c5e 100644 --- a/src/third_party/wiredtiger/dist/api_data.py +++ b/src/third_party/wiredtiger/dist/api_data.py @@ -226,6 +226,9 @@ tiered_config = [ time in seconds to retain data on tiered storage on the local tier for faster read access''', min='0', max='10000'), + Config('object_target_size', '0', r''' + this option is no longer supported, retained for backward compatibility''', + min='0', undoc=True), ]), ] @@ -973,10 +976,6 @@ tiered_storage_configuration_common = [ time in seconds to retain data on tiered storage on the local tier for faster read access''', min='0', max='10000'), - Config('object_target_size', '10M', r''' - the approximate size of objects before creating them on the - tiered storage tier''', - min='100K', max='10TB'), ] connection_reconfigure_tiered_storage_configuration = [ Config('tiered_storage', '', r''' diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 0b0997732d0..72e3430c5e5 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-4.4", - "commit": "315f1424f9a8f97a4634b0cb001e2e7d0ed4b587" + "commit": "e868ffed8aa1e49240fecce1e472ef7a03482a6d" } diff --git a/src/third_party/wiredtiger/src/config/config_def.c b/src/third_party/wiredtiger/src/config/config_def.c index fd7e33861d7..e128f69a4da 100644 --- a/src/third_party/wiredtiger/src/config/config_def.c +++ b/src/third_party/wiredtiger/src/config/config_def.c @@ -97,9 +97,7 @@ static const WT_CONFIG_CHECK confchk_tiered_manager_subconfigs[] = { {"wait", "int", NULL, "min=0,max=100000", NULL, 0}, {NULL, NULL, NULL, NULL, NULL, 0}}; static const WT_CONFIG_CHECK confchk_WT_CONNECTION_reconfigure_tiered_storage_subconfigs[] = { - {"local_retention", "int", NULL, "min=0,max=10000", NULL, 0}, - {"object_target_size", "int", NULL, "min=100K,max=10TB", NULL, 0}, - {NULL, NULL, NULL, NULL, NULL, 0}}; + {"local_retention", "int", NULL, "min=0,max=10000", NULL, 0}, {NULL, NULL, NULL, NULL, NULL, 0}}; static const WT_CONFIG_CHECK confchk_WT_CONNECTION_reconfigure[] = { {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, @@ -135,7 +133,7 @@ static const WT_CONFIG_CHECK confchk_WT_CONNECTION_reconfigure[] = { confchk_WT_CONNECTION_reconfigure_statistics_log_subconfigs, 5}, {"tiered_manager", "category", NULL, NULL, confchk_tiered_manager_subconfigs, 3}, {"tiered_storage", "category", NULL, NULL, - confchk_WT_CONNECTION_reconfigure_tiered_storage_subconfigs, 2}, + confchk_WT_CONNECTION_reconfigure_tiered_storage_subconfigs, 1}, {"timing_stress_for_test", "list", NULL, "choices=[\"aggressive_sweep\",\"backup_rename\"," "\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\"," @@ -265,7 +263,8 @@ static const WT_CONFIG_CHECK confchk_WT_SESSION_create_tiered_storage_subconfigs {"bucket_prefix", "string", NULL, NULL, NULL, 0}, {"cache_directory", "string", NULL, NULL, NULL, 0}, {"local_retention", "int", NULL, "min=0,max=10000", NULL, 0}, - {"name", "string", NULL, NULL, NULL, 0}, {NULL, NULL, NULL, NULL, NULL, 0}}; + {"name", "string", NULL, NULL, NULL, 0}, {"object_target_size", "int", NULL, "min=0", NULL, 0}, + {NULL, NULL, NULL, NULL, NULL, 0}}; static const WT_CONFIG_CHECK confchk_WT_SESSION_create[] = { {"access_pattern_hint", "string", NULL, "choices=[\"none\",\"random\",\"sequential\"]", NULL, 0}, @@ -311,7 +310,7 @@ static const WT_CONFIG_CHECK confchk_WT_SESSION_create[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"type", "string", NULL, NULL, NULL, 0}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, @@ -466,7 +465,7 @@ static const WT_CONFIG_CHECK confchk_file_config[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, {"write_timestamp_usage", "string", NULL, @@ -518,7 +517,7 @@ static const WT_CONFIG_CHECK confchk_file_meta[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, {"version", "string", NULL, NULL, NULL, 0}, @@ -586,7 +585,7 @@ static const WT_CONFIG_CHECK confchk_lsm_meta[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, {"write_timestamp_usage", "string", NULL, @@ -639,7 +638,7 @@ static const WT_CONFIG_CHECK confchk_object_meta[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, {"version", "string", NULL, NULL, NULL, 0}, @@ -708,7 +707,7 @@ static const WT_CONFIG_CHECK confchk_tier_meta[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, {"version", "string", NULL, NULL, NULL, 0}, @@ -761,7 +760,7 @@ static const WT_CONFIG_CHECK confchk_tiered_meta[] = { {"split_pct", "int", NULL, "min=50,max=100", NULL, 0}, {"tiered_object", "boolean", NULL, NULL, NULL, 0}, {"tiered_storage", "category", NULL, NULL, confchk_WT_SESSION_create_tiered_storage_subconfigs, - 6}, + 7}, {"tiers", "list", NULL, NULL, NULL, 0}, {"value_format", "format", __wt_struct_confchk, NULL, NULL, 0}, {"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0}, @@ -804,9 +803,7 @@ static const WT_CONFIG_CHECK confchk_tiered_storage_subconfigs[] = { {"bucket_prefix", "string", NULL, NULL, NULL, 0}, {"cache_directory", "string", NULL, NULL, NULL, 0}, {"local_retention", "int", NULL, "min=0,max=10000", NULL, 0}, - {"name", "string", NULL, NULL, NULL, 0}, - {"object_target_size", "int", NULL, "min=100K,max=10TB", NULL, 0}, - {NULL, NULL, NULL, NULL, NULL, 0}}; + {"name", "string", NULL, NULL, NULL, 0}, {NULL, NULL, NULL, NULL, NULL, 0}}; static const WT_CONFIG_CHECK confchk_wiredtiger_open_transaction_sync_subconfigs[] = { {"enabled", "boolean", NULL, NULL, NULL, 0}, @@ -863,7 +860,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open[] = { NULL, 0}, {"statistics_log", "category", NULL, NULL, confchk_wiredtiger_open_statistics_log_subconfigs, 6}, {"tiered_manager", "category", NULL, NULL, confchk_tiered_manager_subconfigs, 3}, - {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7}, + {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 6}, {"timing_stress_for_test", "list", NULL, "choices=[\"aggressive_sweep\",\"backup_rename\"," "\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\"," @@ -943,7 +940,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open_all[] = { NULL, 0}, {"statistics_log", "category", NULL, NULL, confchk_wiredtiger_open_statistics_log_subconfigs, 6}, {"tiered_manager", "category", NULL, NULL, confchk_tiered_manager_subconfigs, 3}, - {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7}, + {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 6}, {"timing_stress_for_test", "list", NULL, "choices=[\"aggressive_sweep\",\"backup_rename\"," "\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\"," @@ -1020,7 +1017,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open_basecfg[] = { NULL, 0}, {"statistics_log", "category", NULL, NULL, confchk_wiredtiger_open_statistics_log_subconfigs, 6}, {"tiered_manager", "category", NULL, NULL, confchk_tiered_manager_subconfigs, 3}, - {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7}, + {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 6}, {"timing_stress_for_test", "list", NULL, "choices=[\"aggressive_sweep\",\"backup_rename\"," "\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\"," @@ -1095,7 +1092,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open_usercfg[] = { NULL, 0}, {"statistics_log", "category", NULL, NULL, confchk_wiredtiger_open_statistics_log_subconfigs, 6}, {"tiered_manager", "category", NULL, NULL, confchk_tiered_manager_subconfigs, 3}, - {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7}, + {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 6}, {"timing_stress_for_test", "list", NULL, "choices=[\"aggressive_sweep\",\"backup_rename\"," "\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\"," @@ -1160,8 +1157,8 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "statistics=none,statistics_log=(json=false,on_close=false," "sources=,timestamp=\"%b %d %H:%M:%S\",wait=0)," "tiered_manager=(threads_max=8,threads_min=1,wait=0)," - "tiered_storage=(local_retention=300,object_target_size=10M)," - "timing_stress_for_test=,verbose=[]", + "tiered_storage=(local_retention=300),timing_stress_for_test=," + "verbose=[]", confchk_WT_CONNECTION_reconfigure, 29}, {"WT_CONNECTION.rollback_to_stable", "", NULL, 0}, {"WT_CONNECTION.set_file_system", "", NULL, 0}, {"WT_CONNECTION.set_timestamp", @@ -1214,7 +1211,7 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", ",source=,split_deepen_min_child=0,split_deepen_per_child=0," "split_pct=90,tiered_object=false,tiered_storage=(auth_token=," "bucket=,bucket_prefix=,cache_directory=,local_retention=300," - "name=),type=file,value_format=u,verbose=[]," + "name=,object_target_size=0),type=file,value_format=u,verbose=[]," "write_timestamp_usage=none", confchk_WT_SESSION_create, 50}, {"WT_SESSION.drop", @@ -1280,8 +1277,9 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "prefix_compression=false,prefix_compression_min=4,readonly=false" ",split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90," "tiered_object=false,tiered_storage=(auth_token=,bucket=," - "bucket_prefix=,cache_directory=,local_retention=300,name=)," - "value_format=u,verbose=[],write_timestamp_usage=none", + "bucket_prefix=,cache_directory=,local_retention=300,name=," + "object_target_size=0),value_format=u,verbose=[]," + "write_timestamp_usage=none", confchk_file_config, 42}, {"file.meta", "access_pattern_hint=none,allocation_size=4KB,app_metadata=," @@ -1300,8 +1298,9 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "prefix_compression_min=4,readonly=false,split_deepen_min_child=0" ",split_deepen_per_child=0,split_pct=90,tiered_object=false," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=),value_format=u," - "verbose=[],version=(major=0,minor=0),write_timestamp_usage=none", + "cache_directory=,local_retention=300,name=,object_target_size=0)" + ",value_format=u,verbose=[],version=(major=0,minor=0)," + "write_timestamp_usage=none", confchk_file_meta, 47}, {"index.meta", "app_metadata=,assert=(commit_timestamp=none," @@ -1331,8 +1330,8 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", ",readonly=false,split_deepen_min_child=0," "split_deepen_per_child=0,split_pct=90,tiered_object=false," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=),value_format=u," - "verbose=[],write_timestamp_usage=none", + "cache_directory=,local_retention=300,name=,object_target_size=0)" + ",value_format=u,verbose=[],write_timestamp_usage=none", confchk_lsm_meta, 46}, {"object.meta", "access_pattern_hint=none,allocation_size=4KB,app_metadata=," @@ -1351,8 +1350,9 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "prefix_compression_min=4,readonly=false,split_deepen_min_child=0" ",split_deepen_per_child=0,split_pct=90,tiered_object=false," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=),value_format=u," - "verbose=[],version=(major=0,minor=0),write_timestamp_usage=none", + "cache_directory=,local_retention=300,name=,object_target_size=0)" + ",value_format=u,verbose=[],version=(major=0,minor=0)," + "write_timestamp_usage=none", confchk_object_meta, 48}, {"table.meta", "app_metadata=,assert=(commit_timestamp=none," @@ -1377,9 +1377,9 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "prefix_compression=false,prefix_compression_min=4,readonly=false" ",split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90," "tiered_object=false,tiered_storage=(auth_token=,bucket=," - "bucket_prefix=,cache_directory=,local_retention=300,name=)," - "value_format=u,verbose=[],version=(major=0,minor=0)," - "write_timestamp_usage=none", + "bucket_prefix=,cache_directory=,local_retention=300,name=," + "object_target_size=0),value_format=u,verbose=[],version=(major=0" + ",minor=0),write_timestamp_usage=none", confchk_tier_meta, 50}, {"tiered.meta", "access_pattern_hint=none,allocation_size=4KB,app_metadata=," @@ -1398,9 +1398,9 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "prefix_compression=false,prefix_compression_min=4,readonly=false" ",split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90," "tiered_object=false,tiered_storage=(auth_token=,bucket=," - "bucket_prefix=,cache_directory=,local_retention=300,name=)," - "tiers=,value_format=u,verbose=[],version=(major=0,minor=0)," - "write_timestamp_usage=none", + "bucket_prefix=,cache_directory=,local_retention=300,name=," + "object_target_size=0),tiers=,value_format=u,verbose=[]," + "version=(major=0,minor=0),write_timestamp_usage=none", confchk_tiered_meta, 49}, {"wiredtiger_open", "buffer_alignment=-1,builtin_extension_config=,cache_cursors=true" @@ -1432,11 +1432,10 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", ",on_close=false,path=\".\",sources=,timestamp=\"%b %d %H:%M:%S\"" ",wait=0),tiered_manager=(threads_max=8,threads_min=1,wait=0)," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=," - "object_target_size=10M),timing_stress_for_test=," - "transaction_sync=(enabled=false,method=fsync)," - "use_environment=true,use_environment_priv=false,verbose=[]," - "verify_metadata=false,write_through=", + "cache_directory=,local_retention=300,name=)," + "timing_stress_for_test=,transaction_sync=(enabled=false," + "method=fsync),use_environment=true,use_environment_priv=false," + "verbose=[],verify_metadata=false,write_through=", confchk_wiredtiger_open, 57}, {"wiredtiger_open_all", "buffer_alignment=-1,builtin_extension_config=,cache_cursors=true" @@ -1468,11 +1467,11 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", ",on_close=false,path=\".\",sources=,timestamp=\"%b %d %H:%M:%S\"" ",wait=0),tiered_manager=(threads_max=8,threads_min=1,wait=0)," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=," - "object_target_size=10M),timing_stress_for_test=," - "transaction_sync=(enabled=false,method=fsync)," - "use_environment=true,use_environment_priv=false,verbose=[]," - "verify_metadata=false,version=(major=0,minor=0),write_through=", + "cache_directory=,local_retention=300,name=)," + "timing_stress_for_test=,transaction_sync=(enabled=false," + "method=fsync),use_environment=true,use_environment_priv=false," + "verbose=[],verify_metadata=false,version=(major=0,minor=0)," + "write_through=", confchk_wiredtiger_open_all, 58}, {"wiredtiger_open_basecfg", "buffer_alignment=-1,builtin_extension_config=,cache_cursors=true" @@ -1504,10 +1503,10 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "path=\".\",sources=,timestamp=\"%b %d %H:%M:%S\",wait=0)," "tiered_manager=(threads_max=8,threads_min=1,wait=0)," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=," - "object_target_size=10M),timing_stress_for_test=," - "transaction_sync=(enabled=false,method=fsync),verbose=[]," - "verify_metadata=false,version=(major=0,minor=0),write_through=", + "cache_directory=,local_retention=300,name=)," + "timing_stress_for_test=,transaction_sync=(enabled=false," + "method=fsync),verbose=[],verify_metadata=false,version=(major=0," + "minor=0),write_through=", confchk_wiredtiger_open_basecfg, 52}, {"wiredtiger_open_usercfg", "buffer_alignment=-1,builtin_extension_config=,cache_cursors=true" @@ -1539,10 +1538,9 @@ static const WT_CONFIG_ENTRY config_entries[] = {{"WT_CONNECTION.add_collator", "path=\".\",sources=,timestamp=\"%b %d %H:%M:%S\",wait=0)," "tiered_manager=(threads_max=8,threads_min=1,wait=0)," "tiered_storage=(auth_token=,bucket=,bucket_prefix=," - "cache_directory=,local_retention=300,name=," - "object_target_size=10M),timing_stress_for_test=," - "transaction_sync=(enabled=false,method=fsync),verbose=[]," - "verify_metadata=false,write_through=", + "cache_directory=,local_retention=300,name=)," + "timing_stress_for_test=,transaction_sync=(enabled=false," + "method=fsync),verbose=[],verify_metadata=false,write_through=", confchk_wiredtiger_open_usercfg, 51}, {NULL, NULL, NULL, 0}}; diff --git a/src/third_party/wiredtiger/src/include/wiredtiger.in b/src/third_party/wiredtiger/src/include/wiredtiger.in index b87acfa53db..0eb9d1bf2bb 100644 --- a/src/third_party/wiredtiger/src/include/wiredtiger.in +++ b/src/third_party/wiredtiger/src/include/wiredtiger.in @@ -1313,6 +1313,9 @@ struct __wt_session { * @config{ name, permitted values are \c "none" or custom storage * source name created with WT_CONNECTION::add_storage_source. See @ref * custom_storage_sources for more information., a string; default \c none.} + * @config{ object_target_size, this option is no longer supported\, + * retained for backward compatibility., an integer greater than or equal to 0; default \c + * 0.} * @config{ ),,} * @config{type, set the type of data source used to store a column group\, index or simple * table. By default\, a \c "file:" URI is derived from the object name. The \c type @@ -2280,9 +2283,6 @@ struct __wt_connection { * @config{ local_retention, time in seconds to retain data * on tiered storage on the local tier for faster read access., an integer between 0 and * 10000; default \c 300.} - * @config{ object_target_size, the - * approximate size of objects before creating them on the tiered storage tier., an integer - * between 100K and 10TB; default \c 10M.} * @config{ ),,} * @config{verbose, enable messages for various events. Options are given as a list\, such * as <code>"verbose=[evictserver\,read]"</code>., a list\, with values chosen from the diff --git a/src/third_party/wiredtiger/test/evergreen.yml b/src/third_party/wiredtiger/test/evergreen.yml index 2a27134b1e1..d55e4bd1eb9 100755 --- a/src/third_party/wiredtiger/test/evergreen.yml +++ b/src/third_party/wiredtiger/test/evergreen.yml @@ -122,7 +122,7 @@ functions: source venv/bin/activate pip3 install requirements_parser pip3 install -r etc/pip/compile-requirements.txt - ./buildscripts/scons.py --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars --link-model=dynamic --ninja ICECC=icecc CCACHE=ccache + ./buildscripts/scons.py --variables-files=etc/scons/mongodbtoolchain_stable_gcc.vars --link-model=dynamic --ninja generate-ninja ICECC=icecc CCACHE=ccache ninja -j$(nproc --all) install-mongod "configure wiredtiger": &configure_wiredtiger command: shell.exec diff --git a/src/third_party/wiredtiger/test/suite/test_tiered05.py b/src/third_party/wiredtiger/test/suite/test_tiered05.py index 1d199bad74b..6417ecd0a65 100755 --- a/src/third_party/wiredtiger/test/suite/test_tiered05.py +++ b/src/third_party/wiredtiger/test/suite/test_tiered05.py @@ -54,8 +54,7 @@ class test_tiered05(wttest.WiredTigerTestCase): 'tiered_storage=(auth_token=%s,' % self.auth_token + \ 'bucket=%s,' % self.bucket + \ 'bucket_prefix=%s,' % self.bucket_prefix + \ - 'name=%s,' % self.extension_name + \ - 'object_target_size=20M)' + 'name=%s)' % self.extension_name # Test calling the flush_tier API with a tiered manager. Should get an error. def test_tiered(self): |