-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #442 from weibocom/dev_fnv132_20240312
1、support 新hash; 2、增加hash/dist校验工具及示例文件
- Loading branch information
Showing
10 changed files
with
385 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# 文件格式:首先设置hash、distribution、shard_count,然后设置每个分片的数据 | ||
# header | ||
hash=crc64 | ||
distribution=modula | ||
shard_count=6 | ||
|
||
shard_idx=0 | ||
hot_band_conf_6041884361 | ||
hot_band_conf_7457077031 | ||
hot_band_conf_5983133201 | ||
|
||
shard_idx=1 | ||
hot_band_conf_5658472751 | ||
hot_band_conf_3306842351 | ||
hot_band_conf_7550365451 | ||
hot_band_conf_3306842351 | ||
|
||
shard_idx=2 | ||
hot_band_conf_2759747141 | ||
hot_band_conf_7202166971 | ||
hot_band_conf_7723136021 | ||
|
||
shard_idx=3 | ||
hot_band_conf_7816767401 | ||
|
||
shard_idx=4 | ||
hot_band_conf_5211889061 | ||
|
||
shard_idx=5 | ||
hot_band_conf_2739628991 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
4467599223029960 | ||
3735267922960943 | ||
3543172671127490 | ||
3542600890981532 | ||
3736215076519398 | ||
4480826111688800 | ||
4673790045847657 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# 文件格式:首先设置hash、dist、shard_count,然后设置每个分片的数据 | ||
# header | ||
hash=fnv1_32 | ||
distribution=modula | ||
shard_count=16 | ||
|
||
shard_idx=0 | ||
ocpx_app_22320534_hot_tweets_feed_20240307 | ||
ocpx_ctcvr_cache_v2_22333703_20240313 | ||
|
||
shard_idx=1 | ||
ocpx_cpl_22268383_hot_tweets_feed_20240305lastslot | ||
|
||
shard_idx=2 | ||
ocpx_cpl_22332413_hot_tweets_feed_20240311lastslot | ||
|
||
shard_idx=3 | ||
ocpx_cpl_22304432_discover_hotspot_feed_20240311lastslot | ||
coldstart:ad_info:22315012 | ||
ocpx_cpl_22229734_queryfeed_20240307lastslot | ||
|
||
shard_idx=4 | ||
ocpx_app_22292303_other_20240313 | ||
|
||
shard_idx=5 | ||
ocpx_24h_pid_22309234_20240309 | ||
ocpx_app_22216665_other_20240311lastslot | ||
|
||
shard_idx=6 | ||
ocpx_cpl_22186766_discover_hotspot_feed_20240307 | ||
ocpx_cpl_22333450_general_queryfeed_20240311lastslot | ||
|
||
shard_idx=7 | ||
ocpx_app_22216118_hot_tweets_feed_20240313 | ||
ocpx_cpl_22302263_vertical_video_20240308 | ||
ocpx_cpl_22280249_mainfeed_20240302lastslot | ||
|
||
shard_idx=8 | ||
ocpx_cpl_22255305_discover_hotspot_feed_20240312 | ||
ocpx_ctcvr_v2_22309626 | ||
|
||
shard_idx=9 | ||
ocpx_creative_custopt_3275145341_86004001_20240224 | ||
ocpx_fan_19964051_other_20240310lastslot | ||
ocpx_fan_22287547_other_20240307 | ||
|
||
shard_idx=10 | ||
ocpx_cpl_22327987_other_20240310 | ||
ocpx_cpl_22025614_vertical_video_20240309lastslot | ||
ocpx_app_22202692_other_20240308 | ||
|
||
shard_idx=11 | ||
ocpx_app_22243530_mainfeed_20240306 | ||
ocpx_app_18774341_other_20240305lastslot | ||
|
||
shard_idx=12 | ||
ocpx_app_22276505_other_20240302lastslot | ||
ocpx_app_20041469_vertical_video_20240310lastslot | ||
|
||
shard_idx=13 | ||
ocpx_cpl_22316879_queryfeed_20240308 | ||
ocpx_app_22306747_other_20240307 | ||
|
||
shard_idx=14 | ||
ocpx_app_22024254_other_20240308 | ||
ocpx_app_21877105_comments_list_20240303lastslot | ||
|
||
shard_idx=15 | ||
ocpx_adjustcost_22134355_20240312 | ||
ocpx_app_22257806_other_20240308 | ||
ocpx_cpl_21862394_hot_tweets_feed_20240306 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,6 @@ mod mysql_strategy; | |
mod number; | ||
mod ring_buffer; | ||
mod select; | ||
mod shard_checker; | ||
mod time; | ||
mod tx_buffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.