summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-07-08 16:31:02 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-08 06:57:12 +0000
commit4a4adf2ca3d3d6aac3619ac7333532b2f681c95f (patch)
treecdb0af15af4933bb2d63e1d4637c80c5ed7506e4
parent9e1236a09589e706d8f315286db54ae81c6bc130 (diff)
downloadmongo-4a4adf2ca3d3d6aac3619ac7333532b2f681c95f.tar.gz
Import wiredtiger: eee63fc9be1103acfff5614bfd91d7f0ec088aca from branch mongodb-5.0
ref: 5677dc201b..eee63fc9be for: 5.0.10 Reverted ticket(s): WT-9302 Deprecated object_target_size as a config in api_data.py
-rw-r--r--src/third_party/wiredtiger/dist/api_data.py7
-rw-r--r--src/third_party/wiredtiger/import.data2
-rw-r--r--src/third_party/wiredtiger/src/config/config_def.c104
-rw-r--r--src/third_party/wiredtiger/src/include/wiredtiger.in6
-rwxr-xr-xsrc/third_party/wiredtiger/test/suite/test_tiered05.py3
5 files changed, 63 insertions, 59 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py
index f3fe230611e..4b8023e7d0f 100644
--- a/src/third_party/wiredtiger/dist/api_data.py
+++ b/src/third_party/wiredtiger/dist/api_data.py
@@ -226,9 +226,6 @@ 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),
]),
]
@@ -1032,6 +1029,10 @@ 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 24a17b7dede..4e4ed65d133 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-5.0",
- "commit": "5677dc201b873fcba04dc7d10757bcf7b8e933b0"
+ "commit": "eee63fc9be1103acfff5614bfd91d7f0ec088aca"
}
diff --git a/src/third_party/wiredtiger/src/config/config_def.c b/src/third_party/wiredtiger/src/config/config_def.c
index f2efc74faf6..2dc618b67df 100644
--- a/src/third_party/wiredtiger/src/config/config_def.c
+++ b/src/third_party/wiredtiger/src/config/config_def.c
@@ -111,7 +111,9 @@ 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}, {NULL, NULL, NULL, NULL, NULL, 0}};
+ {"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}};
static const WT_CONFIG_CHECK confchk_WT_CONNECTION_reconfigure[] = {
{"block_cache", "category", NULL, NULL, confchk_wiredtiger_open_block_cache_subconfigs, 12},
@@ -148,7 +150,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, 1},
+ confchk_WT_CONNECTION_reconfigure_tiered_storage_subconfigs, 2},
{"timing_stress_for_test", "list", NULL,
"choices=[\"aggressive_sweep\",\"backup_rename\","
"\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\","
@@ -279,8 +281,7 @@ 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}, {"object_target_size", "int", NULL, "min=0", 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_WT_SESSION_create[] = {
{"access_pattern_hint", "string", NULL, "choices=[\"none\",\"random\",\"sequential\"]", NULL, 0},
@@ -326,7 +327,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,
- 7},
+ 6},
{"type", "string", NULL, NULL, NULL, 0},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
@@ -482,7 +483,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,
- 7},
+ 6},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
{"write_timestamp_usage", "string", NULL,
@@ -534,7 +535,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,
- 7},
+ 6},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
{"version", "string", NULL, NULL, NULL, 0},
@@ -602,7 +603,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,
- 7},
+ 6},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
{"write_timestamp_usage", "string", NULL,
@@ -655,7 +656,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,
- 7},
+ 6},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
{"version", "string", NULL, NULL, NULL, 0},
@@ -724,7 +725,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,
- 7},
+ 6},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
{"version", "string", NULL, NULL, NULL, 0},
@@ -777,7 +778,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,
- 7},
+ 6},
{"tiers", "list", NULL, NULL, NULL, 0},
{"value_format", "format", __wt_struct_confchk, NULL, NULL, 0},
{"verbose", "list", NULL, "choices=[\"write_timestamp\"]", NULL, 0},
@@ -821,7 +822,9 @@ 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}, {NULL, NULL, NULL, NULL, 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}};
static const WT_CONFIG_CHECK confchk_wiredtiger_open_transaction_sync_subconfigs[] = {
{"enabled", "boolean", NULL, NULL, NULL, 0},
@@ -879,7 +882,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, 6},
+ {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7},
{"timing_stress_for_test", "list", NULL,
"choices=[\"aggressive_sweep\",\"backup_rename\","
"\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\","
@@ -961,7 +964,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, 6},
+ {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7},
{"timing_stress_for_test", "list", NULL,
"choices=[\"aggressive_sweep\",\"backup_rename\","
"\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\","
@@ -1040,7 +1043,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, 6},
+ {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7},
{"timing_stress_for_test", "list", NULL,
"choices=[\"aggressive_sweep\",\"backup_rename\","
"\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\","
@@ -1117,7 +1120,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, 6},
+ {"tiered_storage", "category", NULL, NULL, confchk_tiered_storage_subconfigs, 7},
{"timing_stress_for_test", "list", NULL,
"choices=[\"aggressive_sweep\",\"backup_rename\","
"\"checkpoint_reserved_txnid_delay\",\"checkpoint_slow\","
@@ -1189,8 +1192,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),timing_stress_for_test=,"
- "verbose=[]",
+ "tiered_storage=(local_retention=300,object_target_size=10M),"
+ "timing_stress_for_test=,verbose=[]",
confchk_WT_CONNECTION_reconfigure, 30},
{"WT_CONNECTION.rollback_to_stable", "", NULL, 0}, {"WT_CONNECTION.set_file_system", "", NULL, 0},
{"WT_CONNECTION.set_timestamp",
@@ -1243,7 +1246,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=,object_target_size=0),type=file,value_format=u,verbose=[],"
+ "name=),type=file,value_format=u,verbose=[],"
"write_timestamp_usage=none",
confchk_WT_SESSION_create, 50},
{"WT_SESSION.drop",
@@ -1311,9 +1314,8 @@ 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=,"
- "object_target_size=0),value_format=u,verbose=[],"
- "write_timestamp_usage=none",
+ "bucket_prefix=,cache_directory=,local_retention=300,name=),"
+ "value_format=u,verbose=[],write_timestamp_usage=none",
confchk_file_config, 42},
{"file.meta",
"access_pattern_hint=none,allocation_size=4KB,app_metadata=,"
@@ -1332,9 +1334,8 @@ 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=,object_target_size=0)"
- ",value_format=u,verbose=[],version=(major=0,minor=0),"
- "write_timestamp_usage=none",
+ "cache_directory=,local_retention=300,name=),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,"
@@ -1364,8 +1365,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=,object_target_size=0)"
- ",value_format=u,verbose=[],write_timestamp_usage=none",
+ "cache_directory=,local_retention=300,name=),value_format=u,"
+ "verbose=[],write_timestamp_usage=none",
confchk_lsm_meta, 46},
{"object.meta",
"access_pattern_hint=none,allocation_size=4KB,app_metadata=,"
@@ -1384,9 +1385,8 @@ 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=,object_target_size=0)"
- ",value_format=u,verbose=[],version=(major=0,minor=0),"
- "write_timestamp_usage=none",
+ "cache_directory=,local_retention=300,name=),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,"
@@ -1411,9 +1411,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=,"
- "object_target_size=0),value_format=u,verbose=[],version=(major=0"
- ",minor=0),write_timestamp_usage=none",
+ "bucket_prefix=,cache_directory=,local_retention=300,name=),"
+ "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=,"
@@ -1433,8 +1433,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=,object_target_size=0),tiers=,value_format=u,verbose=[],"
- "version=(major=0,minor=0),write_timestamp_usage=none",
+ "name=),tiers=,value_format=u,verbose=[],version=(major=0,"
+ "minor=0),write_timestamp_usage=none",
confchk_tiered_meta, 50},
{"wiredtiger_open",
"block_cache=(blkcache_eviction_aggression=1800,"
@@ -1471,10 +1471,11 @@ 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=),"
- "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=,"
+ "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=",
confchk_wiredtiger_open, 58},
{"wiredtiger_open_all",
"block_cache=(blkcache_eviction_aggression=1800,"
@@ -1511,11 +1512,11 @@ 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=),"
- "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=,"
+ "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=",
confchk_wiredtiger_open_all, 59},
{"wiredtiger_open_basecfg",
"block_cache=(blkcache_eviction_aggression=1800,"
@@ -1551,10 +1552,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=),"
- "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=,"
+ "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=",
confchk_wiredtiger_open_basecfg, 53},
{"wiredtiger_open_usercfg",
"block_cache=(blkcache_eviction_aggression=1800,"
@@ -1590,9 +1591,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=),"
- "timing_stress_for_test=,transaction_sync=(enabled=false,"
- "method=fsync),verbose=[],verify_metadata=false,write_through=",
+ "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=",
confchk_wiredtiger_open_usercfg, 52},
{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 b86b6ab3d83..b6c61d48217 100644
--- a/src/third_party/wiredtiger/src/include/wiredtiger.in
+++ b/src/third_party/wiredtiger/src/include/wiredtiger.in
@@ -1314,9 +1314,6 @@ struct __wt_session {
* @config{&nbsp;&nbsp;&nbsp;&nbsp;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{&nbsp;&nbsp;&nbsp;&nbsp;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
@@ -2324,6 +2321,9 @@ struct __wt_connection {
* @config{&nbsp;&nbsp;&nbsp;&nbsp;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{&nbsp;&nbsp;&nbsp;&nbsp;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 subsystems and operations. Options are
* given as a list\, where each message type can optionally define an associated verbosity
diff --git a/src/third_party/wiredtiger/test/suite/test_tiered05.py b/src/third_party/wiredtiger/test/suite/test_tiered05.py
index 6417ecd0a65..1d199bad74b 100755
--- a/src/third_party/wiredtiger/test/suite/test_tiered05.py
+++ b/src/third_party/wiredtiger/test/suite/test_tiered05.py
@@ -54,7 +54,8 @@ 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
+ 'name=%s,' % self.extension_name + \
+ 'object_target_size=20M)'
# Test calling the flush_tier API with a tiered manager. Should get an error.
def test_tiered(self):