Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reingest slots downloading from bigtable for gaps #114

Merged
merged 8 commits into from
Feb 5, 2024

Conversation

StanChe
Copy link
Collaborator

@StanChe StanChe commented Feb 1, 2024

Let the force re-ingestable slots be with you

@@ -595,15 +596,48 @@ pub async fn main() -> Result<(), IngesterError> {
metrics.set_scans_latency(start.elapsed().as_secs_f64());
metrics.inc_total_scans();
tokio::select! {
_ = tokio::time::sleep(Duration::from_secs(1)) => {},
_ = tokio::time::sleep(Duration::from_secs(backfiller_config.wait_period_sec*2)) => {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use separate env for this timeout?

) -> Self {
Self {
sequence_consistent_manager,
slots_collector: Arc::new(slots_collector),
metrics,
tasks,
// tasks,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe clean it up?

@StanChe StanChe merged commit adb183b into main Feb 5, 2024
1 check passed
@StanChe StanChe deleted the feature/force_reingest branch February 5, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants