improve mutex locking when writing index in boltdb-shipper (#5830)
improve mutex locking when writing index in boltdb-shipper (#5830)


grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki,grafana/loki