fengxiu

Results 2 issues of fengxiu

```go go func() { _, err := notify.SendNotification(ctx, &notification, s.cfg) if err != nil { logx.LogError.Error(err) } }() ``` ctx will canceled when rpc request return, cause goroutine finished

The WAL provides PendingWrites and WriteAll methods for batch writing operations. Why isn't a WriteBatch directly provided instead? Are there any specific design considerations behind this?