Skip to content

Commit 6f78818

Browse files
committed
remove debug
1 parent edeb5bd commit 6f78818

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

lib/logstorage/async_task_worker.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ func (s *Storage) executeTasksOnce(ctx context.Context) (uint64, error) {
7878
return 0, nil
7979
}
8080

81-
logger.Infof("DEBUG (task): found task seq=%d", task.Seq)
8281
seq = task.Seq
8382

8483
// Gather all lagging parts in the target partition for this sequence.
@@ -127,7 +126,6 @@ func (s *Storage) executeTasksOnce(ctx context.Context) (uint64, error) {
127126
}()
128127

129128
if task.Type == asyncTaskDelete {
130-
logger.Infof("DEBUG (task): start deleting (seq=%d) on %d lagging parts (%d pending)", task.Seq, len(lagging), pending)
131129
err := s.processDeleteTask(ctx, task, lagging)
132130
if err != nil {
133131
return 0, fmt.Errorf("run delete task: %w", err)
@@ -142,7 +140,6 @@ func (s *Storage) executeTasksOnce(ctx context.Context) (uint64, error) {
142140
s.setTaskComplete(outdatedPtws, task.Seq, false, nil)
143141
}
144142

145-
logger.Infof("DEBUG (task): task (seq=%d, query=%q) applied to %d parts", task.Seq, task.Payload.Query, len(lagging))
146143
return seq, nil
147144
}
148145

@@ -186,8 +183,6 @@ func (s *Storage) setTaskComplete(ptws []*partitionWrapper, taskSeq uint64, incl
186183

187184
pt.ats.resolve(taskSeq, err)
188185
}
189-
190-
logger.Infof("DEBUG (task): resolveAsyncTask: taskSeq=%d, includeParts=%t, err=%v", taskSeq, includeParts, err)
191186
}
192187

193188
func (s *Storage) processDeleteTask(ctx context.Context, task asyncTask, lagging []*partWrapper) error {

lib/logstorage/storage.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,6 @@ func ValidateDeleteQuery(q *Query) error {
832832
q.AddTimeFilter(minTS, now*1e9)
833833
}
834834

835-
logger.Infof("DEBUG: query: %s, maxTS: %d, now: %d", q.String(), maxTS/1e9, now)
836835
return nil
837836
}
838837

@@ -982,6 +981,5 @@ func (s *Storage) markDeleteRowsOnParts(ctx context.Context, tenantIDs []TenantI
982981
for i := range allowed {
983982
partCount += len(allowed[i])
984983
}
985-
logger.Infof("DEBUG: affected (originalParts=%d, parts=%d, seq=%d)", partCount, len(partMarkers), seq)
986984
return nil
987985
}

0 commit comments

Comments
 (0)