Commit Graph

155 Commits (d24c3200d14ee419665dfc7840469966caa368ea)

Author SHA1 Message Date
YuQing f55d8fafc8 support alignment size for trunk space allocation 2019-12-20 12:02:48 +08:00
YuQing 13ba0963a3 trunk_binlog_truncate delete trunk data file 2019-12-20 09:07:09 +08:00
YuQing 4a6f89c692 support backup binlog file when truncate trunk binlog 2019-12-19 18:38:01 +08:00
YuQing 2c5955c1fe trunk binlog compression support transaction 2019-12-18 21:16:34 +08:00
YuQing fd8772976d check trunk binlog version before compressing 2019-12-15 21:26:13 +08:00
YuQing cab3a90d7f compress the trunk binlog gracefully 2019-12-15 18:49:02 +08:00
YuQing cf0ec7e4cf trunk server support compress the trunk binlog periodically 2019-12-14 21:03:35 +08:00
YuQing a49735ae5a fdfs_trackerd and fdfs_storaged print the server version in usage 2019-12-13 10:59:07 +08:00
YuQing 24bb1e97b5 change config files 2019-12-08 10:17:16 +08:00
YuQing e0d3d44f64 sigQuitHandler: tcp_set_try_again_when_interrupt to false 2019-12-05 12:13:53 +08:00
YuQing 983a21ba51 remove recovery_init_flag_file_ex 2019-12-05 12:04:30 +08:00
YuQing a424a06cf3 should use memset to init pReader 2019-12-05 09:51:36 +08:00
YuQing 6bfb8215ff upgrade version to 6.04 2019-12-05 08:54:39 +08:00
YuQing 22824e5f07 bugfix: init pReader->binlog_buff.version/length to 0 2019-12-04 22:59:24 +08:00
YuQing 01041705ba calc hash use src_filename when it not empty 2019-12-04 20:19:43 +08:00
YuQing 856ef15ab7 fix recovery_get_global_full_filename 2019-12-04 20:00:34 +08:00
YuQing edb3f6bb4d pthread_kill alive recovery threads 2019-12-04 16:29:08 +08:00
YuQing 867dc29111 use fdfs_get_ipaddr_by_peer_ip 2019-12-04 15:59:31 +08:00
YuQing 33b539eac6 disk recovery support multi-threads to speed up 2019-12-04 10:47:32 +08:00
YuQing 46171f2c64 add parameter compress_error_log_days_before 2019-12-01 20:39:31 +08:00
YuQing 634d85eaae support compress error log and access log 2019-11-30 16:12:18 +08:00
YuQing df2fd2069b storage_report_ip_changed ignore result EEXIST 2019-11-27 20:33:56 +08:00
YuQing 949f53b15d INSTALL changed and modify website name 2019-11-23 09:56:35 +08:00
YuQing da7300bc9b change comment/information in config files and codes 2019-11-22 09:26:47 +08:00
YuQing add02e7348 a little change 2019-11-20 17:02:21 +08:00
YuQing 9a29048ae5 larger network_timeout for fetching one-store-path binlog 2019-11-20 08:38:38 +08:00
YuQing 5a6acbdff8 remove debug info 2019-11-19 11:03:55 +08:00
YuQing 0551999135 storage.conf add parameter check_store_path_mark 2019-11-19 10:51:16 +08:00
YuQing 132dbc0950 change comments in the config files 2019-11-18 08:41:49 +08:00
YuQing 4ed56c5f69 check store path's mark file to prevent confusion 2019-11-17 22:19:29 +08:00
YuQing af4f0754e4 code refine: extent struct FDFSStorePathInfo 2019-11-17 19:21:55 +08:00
YuQing cb24cd82e1 storage server write to data_init_flag and mark file safely 2019-11-16 10:53:46 +08:00
YuQing 9dc6742b1e bugfix: fdfs_monitor fix get index of the specified tracker server 2019-11-16 09:25:57 +08:00
YuQing 22865e0542 storage server request tracker server to change it's status 2019-11-15 13:19:26 +08:00
YuQing 6ea2f5e1ca my_status change to my_result 2019-11-15 08:39:59 +08:00
YuQing afc4fa2346 code stype little adjust 2019-11-15 08:19:36 +08:00
YuQing 21c52cf406 dual IPs support two different types of inner (intranet) IPs 2019-11-14 19:19:11 +08:00
YuQing 9bc762bffb sync regenerated appender file 2019-11-12 19:07:49 +08:00
YuQing c36419d5bb php ext support regenerate filename for appender file 2019-11-11 22:55:51 +08:00
YuQing 9c0bbce9df support regenerate filename for appender file 2019-11-10 20:38:36 +08:00
YuQing 9f0a914c93 recovery download file to local temp file then rename 2019-11-08 20:41:32 +08:00
YuQing cdb180ae32 get_file_info calculate CRC32 for appender file type 2019-11-06 19:33:19 +08:00
YuQing fc8c6f8ebc log more info when recv timeout 2019-10-25 15:58:55 +08:00
YuQing 1943f3d49a upgrade version to V6.0.1 2019-10-25 14:49:51 +08:00
YuQing 6b1f5e0cca bugfix: must check and create data path 2019-10-25 11:58:20 +08:00
YuQing ecca01766a small change for config files 2019-10-24 10:59:59 +08:00
YuQing 461e78ca30 remove debug info 2019-10-23 16:50:40 +08:00
YuQing 77da832e05 compress and uncompress binlog file by gzip when need 2019-10-23 14:56:28 +08:00
YuQing 5eb02fd01f correct spell for tracker 2019-10-21 15:06:18 +08:00
YuQing bd42da608f upgrade version to 6.0.0 2019-10-16 12:59:51 +08:00
YuQing f756b5ee94 storage join add field: current_tracker_ip 2019-10-16 09:52:25 +08:00
YuQing 1143859c86 dump local host ip 2019-10-16 08:56:18 +08:00
YuQing 96f276a218 advance write_to_pid_file in fdfs_storaged.c 2019-10-14 19:43:41 +08:00
YuQing d91cd72bfd when storage is client of tracker, get client ip gracefully 2019-10-12 21:48:30 +08:00
YuQing 5695965470 storage server get ip from tracker 2019-10-12 19:15:58 +08:00
YuQing ba527d41bb support multi ip for storage server (storage part) 2019-10-12 10:41:32 +08:00
YuQing 396ca80c23 storage support multi ip for storage server 2019-10-11 20:02:09 +08:00
YuQing 82e95ccee7 tracker support multi ip for storage server 2019-10-09 21:26:56 +08:00
YuQing b1adb8889d client support multi ip for tracker server 2019-10-07 10:32:54 +08:00
YuQing 16bbaf7884 storage support multi ip for tracker server 2019-10-02 14:40:55 +08:00
YuQing 4af6511d3f use socketCreateExAuto and socketClientExAuto 2019-09-30 09:12:53 +08:00
YuQing b1688c2242 correct spell wrong for response 2019-09-12 10:12:08 +08:00
YuQing 930f2ddb91 truncate file can extend file size 2019-02-22 17:13:04 +08:00
yuqing b1423a3ace include libfastcommon header files start with fastcommon/ 2018-06-29 11:21:07 +08:00
yuqing 99526a2523 use int_to_comma_str to show buff size 2018-06-29 10:48:30 +08:00
yuqing af143b8d54 correct CRC32, you must upgrade libfastcommon to V1.38 or later 2018-06-07 20:47:27 +08:00
yuqing 9757d08b18 make.sh uses macros define in /usr/include/fastcommon/_os_define.h 2018-05-23 15:36:08 +08:00
Yu Qing 1e4eb5c154 replace print format OFF_PRINTF_FORMAT to PRId64 2017-08-10 16:15:36 +08:00
yuqing 7042f8d061 add storage access log header 2017-05-25 11:04:38 +08:00
yuqing 5e23bd9144 bug fixed: file_offset has no effect when use trunk file 2017-04-28 11:11:38 +08:00
yuqing a29ebe48ad log more info when fdfs_recv_header / fdfs_recv_response fail 2017-03-29 16:59:06 +08:00
yuqing 36ab6337e5 judge tracker leader when clear sync_src_id 2017-03-29 14:43:28 +08:00
yuqing a0c1140e1c clear sync src id when tracker response ENOENT 2017-03-29 14:26:13 +08:00
yuqing 54981a060d log more info 2017-03-29 11:40:04 +08:00
yuqing 69c7ea4cb3 use fc_safe_read instead of read, and fc_safe_write instead of write 2017-02-17 11:11:33 +08:00
lizhiang 5a07f7a21c Modify the cmd index in the logError 2016-12-13 11:22:06 +08:00
yuqing 7cdba63be5 remove common/linux_stack_trace.[hc] 2016-02-04 16:15:03 +08:00
yuqing 521f346d3e dio thread use blocked_queue 2016-01-26 21:52:36 +08:00
yuqing 7d1d0d56a3 use INIT_SCHEDULE_ENTRY 2015-09-13 19:30:40 +08:00
yuqing d1ba6c61db bug fixed: must check store_path_index 2015-08-17 14:19:48 +08:00
yuqing c25d3a7d01 set log rotate time format 2015-08-16 11:20:38 +08:00
yuqing 2b5d703542 fdfs_storaged.c: advance the position of daemon_init 2015-08-15 10:43:46 +08:00
yuqing f46f8bfb0b should close connection after fetch binlog 2015-08-15 10:32:13 +08:00
yuqing 41581aae6b bug fixed: storage_disk_recovery.c skip the first file (binlog first line) 2015-08-14 17:08:21 +08:00
yuqing f0f2fbef90 schedule task add the second field 2015-07-22 16:13:53 +08:00
yuqing 3f77aa8f42 check item thread_stack_size in storage.conf 2015-05-12 14:40:05 +08:00
Yu Qing 308bc053a2 compile passed in mac OS Darwin 2014-11-30 15:47:13 +08:00
yuqing 9a47139321 storage can fetch it's group_name from tracker server 2014-11-22 12:01:22 +08:00
yuqing 119ff3ca5a remove useless global variable: g_network_tv 2014-11-22 08:29:02 +08:00
yuqing f19daf51ee delete old log files, add parameter: log_file_keep_days 2014-09-16 15:46:41 +08:00
yuqing 738a3208b9 add connection stats 2014-09-13 23:09:34 +08:00
yuqing b32ef5c3ca add connection stats 2014-09-13 22:38:45 +08:00
yuqing 2a900c23aa add connection stats 2014-09-13 22:10:04 +08:00
yuqing f5425ae8cc bug fixed: two tracker leaders occur in rare case 2014-09-13 20:14:13 +08:00
yuqing fb7ae7d29a bug fixed: two tracker leaders occur in rare case 2014-09-13 20:11:59 +08:00
yuqing 86eef2069d tracker server adjust storage status to newer by anyway 2014-08-24 11:10:16 +08:00
yuqing 8a9ec249fa depend on libfastcommon 2014-08-19 16:27:40 +08:00
liaozaixue b832e104b2 change setup dir to /usr & add rpm spec file 2014-08-19 15:04:14 +08:00
yuqing 70c67eaba8 bug fixed: can't sync large files cause by v5.02 2014-08-09 13:34:49 +08:00
yuqing 7df4140439 patches by liangry@ucweb.com 2014-08-09 12:22:00 +08:00