Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
checkpoint WIP, not seeming like we can create tables
cargo test --test integration_s3_dynamodb -- test_concurrent_writers --nocapture running 1 test make_bucket: test-delta-table-1703877212 DEBUG deltalake_core::logstore > Found a storage provider for s3:// STORE: AmazonS3 { client: S3Client { config: S3Config { region: "us-east-2", endpoint: "http://localhost:4566", bucket: "test-delta-table-1703877212", bucket_endpoint: "http://localhost:4566/test-delta-table-1703877212", credentials: StaticCredentialProvider { credential: AwsCredential { key_id: "deltalake", secret_key: "weloverust", token: None } }, retry_config: RetryConfig { backoff: BackoffConfig { init_backoff: 100ms, max_backoff: 15s, base: 2.0 }, max_retries: 10, retry_timeout: 180s }, client_options: ClientOptions { user_agent: None, content_type_map: {}, default_content_type: None, default_headers: None, proxy_url: None, proxy_ca_certificate: None, proxy_excludes: None, allow_http: Deferred("true"), allow_insecure: Parsed(false), timeout: None, connect_timeout: None, pool_idle_timeout: None, pool_max_idle_per_host: None, http2_keep_alive_interval: None, http2_keep_alive_timeout: None, http2_keep_alive_while_idle: Parsed(false), http1_only: Parsed(false), http2_only: Parsed(false) }, sign_payload: true, checksum: None, copy_if_not_exists: None }, client: Client { accepts: Accepts, proxies: [Proxy(System({}), None)], referer: true, default_headers: {"accept": "*/*", "user-agent": "object_store/0.7.1"} } } }, options StorageOptions({"allow_http": "true", "aws_secret_access_key": "weloverust", "aws_region": "us-east-2", "aws_access_key_id": "deltalake", "aws_endpoint": "http://localhost:4566"}) WITH! S3StorageBackend DEBUG deltalake_core::logstore > Found a logstore provider for s3:// RETURNING AN S3 DYNAMODB LOGSTORE S3StorageOptions { endpoint_url: Some("http://localhost:4566"), region: Custom { name: "us-east-2", endpoint: "http://localhost:4566" }, profile: None, aws_access_key_id: Some("deltalake"), aws_secret_access_key: Some("weloverust"), aws_session_token: None, virtual_hosted_style_request: false, locking_provider: Some("dynamodb"), assume_role_arn: None, assume_role_session_name: None, use_web_identity: false, s3_pool_idle_timeout: 15s, sts_pool_idle_timeout: 10s, s3_get_internal_server_error_retries: 10, allow_unsafe_rename: false, extra_opts: {"allow_http": "true"} } DEBUG deltalake_aws::logstore > S3DynamoDbLogStore configured with lock client: DynamoDbLockClient(config: DynamoDbConfig { billing_mode: PayPerRequest, lock_table_name: "delta_log_it_47993", use_web_identity: false, region: Custom { name: "us-east-2", endpoint: "http://localhost:4566" } }) >>> preparing table DEBUG deltalake_core::logstore > Found a storage provider for s3:// STORE: AmazonS3 { client: S3Client { config: S3Config { region: "us-east-2", endpoint: "http://localhost:4566", bucket: "test-delta-table-1703877212", bucket_endpoint: "http://localhost:4566/test-delta-table-1703877212", credentials: StaticCredentialProvider { credential: AwsCredential { key_id: "deltalake", secret_key: "weloverust", token: None } }, retry_config: RetryConfig { backoff: BackoffConfig { init_backoff: 100ms, max_backoff: 15s, base: 2.0 }, max_retries: 10, retry_timeout: 180s }, client_options: ClientOptions { user_agent: None, content_type_map: {}, default_content_type: None, default_headers: None, proxy_url: None, proxy_ca_certificate: None, proxy_excludes: None, allow_http: Deferred("true"), allow_insecure: Parsed(false), timeout: None, connect_timeout: None, pool_idle_timeout: None, pool_max_idle_per_host: None, http2_keep_alive_interval: None, http2_keep_alive_timeout: None, http2_keep_alive_while_idle: Parsed(false), http1_only: Parsed(false), http2_only: Parsed(false) }, sign_payload: true, checksum: None, copy_if_not_exists: None }, client: Client { accepts: Accepts, proxies: [Proxy(System({}), None)], referer: true, default_headers: {"accept": "*/*", "user-agent": "object_store/0.7.1"} } } }, options StorageOptions({"allow_http": "true", "aws_secret_access_key": "weloverust", "aws_region": "us-east-2", "aws_access_key_id": "deltalake", "aws_endpoint": "http://localhost:4566"}) WITH! S3StorageBackend DEBUG deltalake_core::logstore > Found a logstore provider for s3:// returning prefix store for Path { raw: "concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a" } RETURNING AN S3 DYNAMODB LOGSTORE S3StorageOptions { endpoint_url: Some("http://localhost:4566"), region: Custom { name: "us-east-2", endpoint: "http://localhost:4566" }, profile: None, aws_access_key_id: Some("deltalake"), aws_secret_access_key: Some("weloverust"), aws_session_token: None, virtual_hosted_style_request: false, locking_provider: Some("dynamodb"), assume_role_arn: None, assume_role_session_name: None, use_web_identity: false, s3_pool_idle_timeout: 15s, sts_pool_idle_timeout: 10s, s3_get_internal_server_error_retries: 10, allow_unsafe_rename: false, extra_opts: {"allow_http": "true"} } DEBUG deltalake_aws::logstore > S3DynamoDbLogStore configured with lock client: DynamoDbLockClient(config: DynamoDbConfig { billing_mode: PayPerRequest, lock_table_name: "delta_log_it_47993", use_web_identity: false, region: Custom { name: "us-east-2", endpoint: "http://localhost:4566" } }) table built: DeltaTable <s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a> DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > retry #0 on log entry CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } failed to move commit: 'Tried committing existing table version: 0' DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > retry #1 on log entry CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } failed to move commit: 'Tried committing existing table version: 0' DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > retry #2 on log entry CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } failed to move commit: 'Tried committing existing table version: 0' DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > retry #0 on log entry CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } failed to move commit: 'Tried committing existing table version: 0' DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > retry #1 on log entry CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } failed to move commit: 'Tried committing existing table version: 0' DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } DEBUG deltalake_aws::logstore > retry #2 on log entry CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } failed to move commit: 'Tried committing existing table version: 0' DEBUG deltalake_aws::logstore > Writing commit entry for S3DynamoDbLogStore(s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a): CommitEntry { version: 0, temp_path: Path { raw: "_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp" }, complete: false, expire_time: None } delete: s3://test-delta-table-1703877212/concurrent_writes_d264d152-fbad-4bea-acf5-976700b8d81a/_delta_log/_commit_4c198b0c-9376-40cb-83b9-b252def3e301.json.tmp remove_bucket: test-delta-table-1703877212 Error: VersionAlreadyExists(0) test test_concurrent_writers ... FAILED
- Loading branch information