Skip to content

Feature request: timeout support for IO operations #1288

Closed as not planned

Description

@dentiny

Is your feature request related to a problem or challenge?

Hi team, checking the spec, I found there're actually timeout requirements for operations.

Take "commit.retry.total-timeout-ms" as an example, my understanding is, it's the timeout we should respect when transaction::commit should respect.

But I don't see any "timeout" or "commit.retry.total-timeout-ms" in the code;
I'm wondering if we should and could support that?

Describe the solution you'd like

Asked chatgpt, seems we could set timeout via

use std::time::Duration;
use tokio::time;

async fn my_async_function() -> Result<(), &'static str> {
    // Simulate some work
    tokio::time::sleep(Duration::from_secs(2)).await;
    Ok(())
}

#[tokio::main]
async fn main() {
    let result = time::timeout(
        Duration::from_secs(1), 
        my_async_function()
    ).await;
    // other code
}

On retry, tokio-retry seems to be helpful: https://docs.rs/tokio-retry/latest/tokio_retry/

Willingness to contribute

I would be willing to contribute to this feature with guidance from the Iceberg Rust community

Activity

  1. added
    enhancement
    on May 3, 2025
  2. github-actions commented on Oct 30, 2025

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.

  3. github-actions commented on Nov 14, 2025

    @github-actions
    Contributor

    This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'

  4. added a commit that references this issue on Jun 9, 2026
    315a0eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions