ソースを参照

Merge pull request #265 from Shopify/no-stale-metadata

Process partition metadata in event of topic-level error
Evan Huus 11 年 前
コミット
77354d55ff
1 ファイル変更0 行追加2 行削除
  1. 0 2
      client.go

+ 0 - 2
client.go

@@ -537,10 +537,8 @@ func (client *Client) update(data *MetadataResponse) ([]string, error) {
 			break
 		case LeaderNotAvailable:
 			toRetry[topic.Name] = true
-			continue
 		default:
 			err = topic.Err
-			continue
 		}
 
 		client.metadata[topic.Name] = make(map[int32]*PartitionMetadata, len(topic.Partitions))