California dam releasing water after record rainfall