commit
c794a5db76
|
@ -323,7 +323,7 @@ func (w *PointsWriter) writeToShard(shard *meta.ShardInfo, database, retentionPo
|
|||
|
||||
// If the write consistency level is ANY, then a successful hinted handoff can
|
||||
// be considered a successful write so send nil to the response channel
|
||||
// otherwise, let the original error propogate to the response channel
|
||||
// otherwise, let the original error propagate to the response channel
|
||||
if hherr == nil && consistency == ConsistencyLevelAny {
|
||||
ch <- &AsyncWriteResult{owner, nil}
|
||||
return
|
||||
|
|
|
@ -228,9 +228,9 @@ func TestPointsWriter_WritePoints(t *testing.T) {
|
|||
expErr: nil,
|
||||
},
|
||||
|
||||
// Write to non-existant database
|
||||
// Write to non-existent database
|
||||
{
|
||||
name: "write to non-existant database",
|
||||
name: "write to non-existent database",
|
||||
database: "doesnt_exist",
|
||||
retentionPolicy: "",
|
||||
consistency: cluster.ConsistencyLevelAny,
|
||||
|
|
Loading…
Reference in New Issue