2024/11/23-22:30:26.031743 139957408196160 DEBG dcompact_worker.cpp:2214: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00: fork to child time = 0.007991 sec 2024/11/23-22:30:26.032372 139957408196160 DEBG dcompact_worker.cpp:1013: Beg SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00 2024/11/23-22:30:26.037299 139957408196160 DEBG dcompact_worker.cpp:1033: End SerDeRead: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00 2024/11/23-22:30:26.038082 139957408196160 TRAC dcompact_worker.cpp:1083: INFO_LOG_LEVEL: rpc = INFO_LEVEL, env_var = undefined 2024/11/23-22:30:26.038328 139957408196160 [WARN] [column_family.cc:386] multiple cf_paths/db_paths and level_compaction_dynamic_level_bytes can't be used together 2024/11/23-22:30:26.088289 139957408196160 [version_set.cc:6208] Recovering from manifest file: /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-37069/att-00/MANIFEST-206347 2024/11/23-22:30:26.121949 139957408196160 [version_set.cc:6251] Recovered from manifest file:/worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-37069/att-00/MANIFEST-206347 succeeded,manifest_file_number is 206347, next_file_number is 283150, last_sequence is 4300377566, log_number is 0,prev_log_number is 0,max_column_family is 0,min_log_number_to_keep is 283013 2024/11/23-22:30:26.121962 139957408196160 [version_set.cc:6266] Column family [default] (ID 0), log number is 0 2024/11/23-22:30:26.122048 139957408196160 [version_set.cc:5721] Creating manifest 283150 2024/11/23-22:30:26.155348 139957408196160 DEBG dcompact_worker.cpp:1218: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00: bottommost_level: fake = 1, rpc = 0 2024/11/23-22:30:26.176997 139957408196160 [compaction_job.cc:2437] [default] [JOB 37069] Compacting 1@2 + 2@3 files to L3, score 0.24, subcompactions 1 : 1 2024/11/23-22:30:26.177013 139957408196160 [compaction_job.cc:2445] [default]: Compaction start summary: Base version 27764 Base level 2, inputs: [283129(31MB)], [283066(9464KB) 283067(31MB)] 2024/11/23-22:30:26.184259 139957408196160 [top_zip_table.cc:59] core git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-22:30:26.184297 139957408196160 [top_zip_table.cc:60] fsa git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-22:30:26.184319 139957408196160 [top_zip_table.cc:61] zbs git_version_hash_info_is:commit fc4ab4f2fbfdcdfa23a955d69e26d2fc533b902d Author: leipeng Date: 2024-04-16 20:29:43 +0800 test_sso.cpp: test swap g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. INCS = -Isrc -I3rdparty/re2 -I3rdparty/zstd -Iboost-include CXXFLAGS = -D TOPLING_IO_WITH_URING=1 -fPIC -time -Wno-class-memaccess -fdiagnostics-color -Wformat=2 -Wcomment -Wall -Wextra -Wno-unused-parameter -Wno-alloc-size-larger-than -mcx16 -Wno-deprecated-declarations -Wstrict-aliasing=3 -DCLIENT_LICENSE_ID="public" -DNO_THREADS -ftls-model=initial-exec -DDIVSUFSORT_API= -fno-stack-protector RLS_FLAGS = -O3 -DNDEBUG -g3 WITH_BMI2 = 1 compile_cpu_flag: -march=haswell -mbmi -mbmi2 2024/11/23-22:30:26.184325 139957408196160 [top_zip_table.cc:62] topling-zip_table_reader: git_version_hash_info_is: commit a4a382006cb82713acf5b3425835f22711877681 Author: leipeng Date: 2024-04-11 19:44:14 +0800 fixed_len_hole_index.cc: Add env bool FixedLenHoleIndexUseAVX512 for ut & debug 1. FixedLenHoleIndexUseAVX512 is only in unit tests or debug 2. In release mode, use avx512 by compile options(-march=) g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cpu_flag: -march=native -mbmi -mbmi2 2024/11/23-22:30:26.184330 139957408196160 [top_zip_table.cc:64] topling-rocks git_version_hash_info_is: commit feab587e468621ba0204d47b4ffacc52e7c4290d Author: leipeng Date: 2024-03-22 13:35:06 +0800 ToplingZipTableBuilder::Add: immediately return after error This function returns void, and caller does not check builder->status() after calling this function and graceful abandon. So immediately return after error, and return error status in Finish(). g++ (GCC) 12.1.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. cpu_flag: -march=native -mbmi -mbmi2 2024/11/23-22:30:26.761789 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283151.sst) /dev/shm/ToplingTemp/Topling-205976-j57XS6 2024/11/23-22:30:27.373061 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283151.sst): first pass time = 0.61's, 187.285'MB/sec 2024/11/23-22:30:28.159344 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283151.sst): old prealloc_size = 83146967, real_size = 35423808 2024/11/23-22:30:28.159393 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283151.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 110390 prefix = 4 raw-key = 0.0009 GB zip-key = 0.0006 GB avg-key = 8.00 avg-zkey = 5.16 raw-val = 0.1123 GB zip-val = 0.0348 GB avg-val =1016.98 avg-zval = 315.49 2024/11/23-22:30:28.296948 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283151.sst): second pass time = 0.78's, 143.800'MB/sec, value only(98.1% of KV) wait indexing time = 0.00's, remap KeyValue time = 0.14's, 268.273'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 19860.683'MB/sec (index lex order gen) rebuild zvType time = 0.10's, 0.271'MB/sec write SST data time = 0.04's, 1032.514'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 1.169'MB, throughput = 42058.915'MB/sec zip my value time = 0.78's, unzip length = 0.112'GB zip my value throughput = 143.800'MB/sec zip pipeline throughput = 143.800'MB/sec entries = 110390 avg-key = 20.00 avg-zkey = 5.16 avg-val = 1016.98 avg-zval = 315.49 usrkeys = 110390 avg-key = 12.00 avg-zkey = 5.16 avg-val = 1023.98 avg-zval = 315.49 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 110390 bytes = 344976 } seq expand size = 772730 multi value expand size = 0 cnt WriteAppend = 12 UnZipSize{ index = 0.0013 GB value = 0.1123 GB dict = 1.17 MB all = 0.1145 GB } __ZipSize{ index = 0.0006 GB value = 0.0348 GB dict = 1.17 MB all = 0.0369 GB } UnZip/Zip{ index = 2.3277 value = 3.2235 dict = 1.00 all = 3.1013 } Zip/UnZip{ index = 0.4296 value = 0.3102 dict = 1.00 all = 0.3224 } ---------------------------- total value len = 8.961657 GB avg = 0.171 KB (by entry num) total key len = 1.443029 GB avg = 0.028 KB total ukey len = 0.999203 GB avg = 0.015 KB total ukey num = 0.065660825 Billion total entry num = 0.052468554 Billion write speed all = 0.212704804 MB/sec (with seq num) write speed all = 0.204123813 MB/sec (without seq num) 2024/11/23-22:30:28.355878 139957408196160 [compaction_job.cc:1948] [default] [JOB 37069] Generated table #283151: 110390 keys, 36911412 bytes, temperature: kWarm 2024/11/23-22:30:28.355991 139957408196160 EVENT_LOG_v1 {"time_micros": 1732372228355916, "cf_name": "default", "job": 37069, "event": "table_file_creation", "file_number": 283151, "file_size": 36911412, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4268702065, "largest_seqno": 4300328804, "table_properties": {"data_size": 34826928, "index_size": 569088, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 2207800, "raw_average_key_size": 20, "raw_value_size": 112264272, "raw_average_value_size": 1016, "num_data_blocks": 1, "num_entries": 110390, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1732372226, "oldest_key_time": 0, "file_creation_time": 1732372226, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 283151, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-22:30:28.396178 139957408196160 [top_zip_table_builder.cc:934] ToplingZipTableBuilder(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283152.sst) /dev/shm/ToplingTemp/Topling-205976-tvr9na 2024/11/23-22:30:28.433372 139957408196160 [top_zip_table_builder.cc:1352] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283152.sst): first pass time = 0.04's, 617.193'MB/sec 2024/11/23-22:30:28.716274 139957408196160 [top_zip_table_builder.cc:2772] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283152.sst): old prealloc_size = 83146967, real_size = 7162256 2024/11/23-22:30:28.716337 139957408196160 [top_zip_table_builder.cc:1773] BuildReorderMap(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283152.sst): index type = FixedLenKeyIndex , store type = DictZipBlobStore usrkeys = 22113 prefix = 4 raw-key = 0.0002 GB zip-key = 0.0001 GB avg-key = 8.00 avg-zkey = 5.57 raw-val = 0.0225 GB zip-val = 0.0070 GB avg-val =1017.05 avg-zval = 318.07 2024/11/23-22:30:28.801376 139957408196160 [top_zip_table_builder.cc:3100] ToplingZipTableBuilder::Finish(/storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00/283152.sst): second pass time = 0.27's, 83.553'MB/sec, value only(98.1% of KV) wait indexing time = 0.01's, remap KeyValue time = 0.09's, 87.570'MB/sec (all stages of remap) Get OrderMap time = 0.00's, 3464.377'MB/sec (index lex order gen) rebuild zvType time = 0.06's, 0.091'MB/sec write SST data time = 0.02's, 307.360'MB/sec dict compress time = 4356233619.02's, 0.000'MB/sec z-dict build time = 0.00's, sample length = 0.223'MB, throughput = 8227.776'MB/sec zip my value time = 0.27's, unzip length = 0.022'GB zip my value throughput = 83.553'MB/sec zip pipeline throughput = 127.810'MB/sec entries = 22113 avg-key = 20.00 avg-zkey = 5.57 avg-val = 1017.05 avg-zval = 318.07 usrkeys = 22113 avg-key = 12.00 avg-zkey = 5.57 avg-val = 1024.05 avg-zval = 318.07 TagRS{ kinds = RS_Key0_Tag1 bytes = 0 } TagArray{ size = 22113 bytes = 69120 } seq expand size = 154791 multi value expand size = 0 cnt WriteAppend = 13 UnZipSize{ index = 0.0003 GB value = 0.0225 GB dict = 0.22 MB all = 0.0229 GB } __ZipSize{ index = 0.0001 GB value = 0.0070 GB dict = 0.22 MB all = 0.0074 GB } UnZip/Zip{ index = 2.1561 value = 3.1976 dict = 1.00 all = 3.0782 } Zip/UnZip{ index = 0.4638 value = 0.3127 dict = 1.00 all = 0.3249 } ---------------------------- total value len = 8.984302 GB avg = 0.171 KB (by entry num) total key len = 1.443471 GB avg = 0.027 KB total ukey len = 0.999468 GB avg = 0.015 KB total ukey num = 0.065682938 Billion total entry num = 0.052490667 Billion write speed all = 0.213174579 MB/sec (with seq num) write speed all = 0.204590061 MB/sec (without seq num) 2024/11/23-22:30:28.819328 139957408196160 [compaction_job.cc:1948] [default] [JOB 37069] Generated table #283152: 22113 keys, 7449924 bytes, temperature: kWarm 2024/11/23-22:30:28.819410 139957408196160 EVENT_LOG_v1 {"time_micros": 1732372228819364, "cf_name": "default", "job": 37069, "event": "table_file_creation", "file_number": 283152, "file_size": 7449924, "file_checksum": "", "file_checksum_func_name": "Unknown", "smallest_seqno": 4271713072, "largest_seqno": 4300326176, "table_properties": {"data_size": 7033472, "index_size": 123072, "index_partitions": 0, "top_level_index_size": 0, "index_key_is_user_key": 0, "index_value_is_delta_encoded": 0, "filter_size": 0, "raw_key_size": 442260, "raw_average_key_size": 20, "raw_value_size": 22490069, "raw_average_value_size": 1017, "num_data_blocks": 1, "num_entries": 22113, "num_filter_entries": 0, "num_deletions": 0, "num_merge_operands": 0, "num_range_deletions": 0, "format_version": 0, "fixed_key_len": 20, "fixed_value_len": 18446744073709551615, "filter_policy": "", "column_family_name": "default", "column_family_id": 0, "comparator": "leveldb.BytewiseComparator", "merge_operator": "nullptr", "prefix_extractor_name": "nullptr", "property_collectors": "[Rdb_tbl_prop_coll_factory]", "compression": "FlatZip", "compression_options": "RS_Key0_Tag1-FixedLenKeyIndex-DictZipBlobStore", "creation_time": 1732372228, "oldest_key_time": 0, "file_creation_time": 1732372228, "slow_compression_estimated_data_size": 0, "fast_compression_estimated_data_size": 0, "db_id": "d89b4006-2803-486e-b7a2-759bcf348921", "db_session_id": "U1ECJGOXSO4Y1P7ZZXV1", "orig_file_number": 283152, "seqno_to_time_mapping": "N/A", "__indexstats__": "[...1 records...]"}} 2024/11/23-22:30:28.834833 139957408196160 [compaction_job.cc:703] job-37069: subcompact[0], size: 0.044361 G, files: /storage/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/mytopling/.rocksdb/job-37069/att-00 [283151,283152] 2024/11/23-22:30:28.860113 139957408196160 (Original Log Time 2024/11/23-22:30:26.177082) EVENT_LOG_v1 {"time_micros": 1732372226177031, "job": 37069, "event": "compaction_started", "compaction_reason": "FilesMarkedForCompaction", "files_L2": [283129], "files_L3": [283066, 283067], "score": 0.237894, "input_data_size": 75588152, "oldest_snapshot_seqno": 4300377257} 2024/11/23-22:30:28.860116 139957408196160 (Original Log Time 2024/11/23-22:30:28.856174) [compaction_job.cc:2022] [default] [JOB 37069] Compacted 1@2 + 2@3 files to L3 => 44361336 bytes 2024/11/23-22:30:28.860118 139957408196160 (Original Log Time 2024/11/23-22:30:28.860047) [compaction_job.cc:1224] [default] compacted to: files[0 0 0 2 0 0 0] max score 0.00, MB/sec: 28.4 rd, 16.7 wr, level 3, files in(1, 2) out(2 +0 blob) MB in(31.2, 40.9 +0.0 blob) out(42.3 +0.0 blob), read-write-amplify(3.7) write-amplify(1.4) OK, records in: 160913, records dropped: 28410 output_compression: Snappy 2024/11/23-22:30:28.860126 139957408196160 (Original Log Time 2024/11/23-22:30:28.860092) EVENT_LOG_v1 {"time_micros": 1732372228860072, "cf": "default", "job": 37069, "event": "compaction_finished", "compaction_time_micros": 2657767, "compaction_time_cpu_micros": 447606, "output_level": 3, "num_output_files": 2, "total_output_size": 44361336, "num_input_records": 160913, "num_output_records": 132503, "num_subcompactions": 1, "output_compression": "Snappy", "num_single_delete_mismatches": 0, "num_single_delete_fallthrough": 0, "file_write_nanos": 33270416, "file_range_sync_nanos": 0, "file_fsync_nanos": 1690, "file_prepare_write_nanos": 5670, "lsm_state": [0, 0, 0, 2, 0, 0, 0]} 2024/11/23-22:30:28.979776 139957408196160 DEBG dcompact_worker.cpp:240: HttpPost: 200 OK: url = http://nlb-7zny4kaa1poal01o64.cn-shenzhen.nlb.aliyuncs.com:8443, body = {"instanceId":"nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137","labourId":"","dbId":"d89b4006-2803-486e-b7a2-759bcf348921","dbStarts":1732256054,"starts":1732372226,"executesMs":2816,"compactionJobId":37069,"attempt":0,"compactionInputRawBytes":166864428,"compactionInputZipBytes":75588152,"compactionOutputRawBytes":0,"compactionOutputZipBytes":44361336,"headers":{"Accept":"*/*","Connection":"close","Host":"aliyun-topling-saas.topling.cn:18443","RemoteIp":"120.24.192.169","X-Forwarded-For":"120.24.192.169","region":"cn-shenzhen","token":"e6474c481bd4415abc537135cc03626b","instance-token":"e6474c481bd4415abc537135cc03626b","provider":"aliyun","CloudMarketInstanceId":"si-59c0ae5c955845588903","MeteringAssit":"","Transfer-Encoding":"chunked","traceparent":"00-86041f63e7e614dc25ca17eb23bbd384-b7e12099eee6377a-00"}}, response = 2024/11/23-22:30:28.979866 139957408196160 INFO dcompact_worker.cpp:1459: finish /worker/dcompact-log/nfs/i-wz9deglxdazgiryp6ltb_10.57.5.137/2024-11-22T14.14.14/.rocksdb/job-37069/att-00: olev 3, work 2.816 s, result 7.843 ms, install 3.970 ms, input{raw 159.134 MiB zip 72.086 MiB}