Comments (1)
The log indicates that at 01:37:38, a request was made to put a table lock with an expiration time of 10 seconds. At 01:37:48, the put operation succeeded, but by then the table lock had already expired, leading to an error.
2024-03-21T01:37:38.323630Z DEBUG databend_common_meta_client::grpc_client: src/meta/client/src/grpc_client.rs:264 Meta ClientHandle send request to meta client worker request=ClientWorkerRequest { request_id: 10707, req: Txn(TxnRequest { condition: [TxnCondition { key: "__fd_table_by_id/147", expected: Eq, target: Some(Seq(171)) }, TxnCondition { key: "__fd_table_lock/147/515", expected: Eq, target: Some(Seq(0)) }], if_then: [TxnOp { request: Some(Put(TxnPutRequest { key: "__fd_table_lock/147/515", value: [10, 4, 114, 111, 111, 116, 18, 22, 121, 77, 114, 54, 56, 66, 49, 81, 66, 120, 90, 80, 76, 119, 113, 80, 76, 51, 68, 100, 118, 50, 26, 36, 54, 101, 57, 50, 102, 98, 57, 100, 45, 54, 50, 51, 54, 45, 52, 101, 51, 100, 45, 97, 57, 49, 51, 45, 55, 99, 100, 98, 101, 50, 57, 97, 49, 53, 98, 102, 34, 33, 50, 48, 50, 52, 45, 48, 51, 45, 50, 49, 32, 48, 49, 58, 51, 55, 58, 51, 56, 46, 51, 50, 51, 53, 56, 51, 50, 57, 48, 32, 85, 84, 67, 160, 6, 83, 168, 6, 24], prev_value: true, expire_at: Some(1710985068), ttl_ms: None })) }], else_then: [] }) }
2024-03-21T01:37:38.323687Z DEBUG databend_common_meta_client::grpc_client: src/meta/client/src/grpc_client.rs:461 MetaGrpcClient worker handle request worker_request=ClientWorkerRequest { request_id: 10707, req: Txn(TxnRequest { condition: [TxnCondition { key: "__fd_table_by_id/147", expected: Eq, target: Some(Seq(171)) }, TxnCondition { key: "__fd_table_lock/147/515", expected: Eq, target: Some(Seq(0)) }], if_then: [TxnOp { request: Some(Put(TxnPutRequest { key: "__fd_table_lock/147/515", value: [10, 4, 114, 111, 111, 116, 18, 22, 121, 77, 114, 54, 56, 66, 49, 81, 66, 120, 90, 80, 76, 119, 113, 80, 76, 51, 68, 100, 118, 50, 26, 36, 54, 101, 57, 50, 102, 98, 57, 100, 45, 54, 50, 51, 54, 45, 52, 101, 51, 100, 45, 97, 57, 49, 51, 45, 55, 99, 100, 98, 101, 50, 57, 97, 49, 53, 98, 102, 34, 33, 50, 48, 50, 52, 45, 48, 51, 45, 50, 49, 32, 48, 49, 58, 51, 55, 58, 51, 56, 46, 51, 50, 51, 53, 56, 51, 50, 57, 48, 32, 85, 84, 67, 160, 6, 83, 168, 6, 24], prev_value: true, expire_at: Some(1710985068), ttl_ms: None })) }], else_then: [] }) }
2024-03-21T01:37:38.323693Z DEBUG h2::codec::framed_read: /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.24/src/codec/framed_read.rs:360 received frame=Headers { stream_id: StreamId(4109), flags: (0x4: END_HEADERS) }
2024-03-21T01:37:38.323765Z DEBUG h2::codec::framed_read: /opt/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.3.24/src/codec/framed_read.rs:360 received frame=Headers { stream_id: StreamId(4107), flags: (0x4: END_HEADERS) }
2024-03-21T01:37:38.323775Z DEBUG databend_common_meta_client::grpc_client: src/meta/client/src/grpc_client.rs:1081 MetaGrpcClient::transaction request req=TxnRequest{ if:[__fd_table_by_id/147 == seq(171),__fd_table_lock/147/515 == seq(0)] then:[Put(Put key=__fd_table_lock/147/515 expire_at: SystemTime { tv_sec: 1710985, tv_nsec: 68000000 })] else:[] }
2024-03-21T01:37:48.023605Z WARN databend_common_meta_client::grpc_client: src/meta/client/src/grpc_client.rs:605 MetaGrpcClient slow request Txn to 127.0.0.1:9191 takes 9699 ms: Txn(TxnRequest { condition: [TxnCondition { key: "__fd_table_by_id/147", expected: Eq, target: Some(Seq(171)) }, TxnCondition { key: "__fd_table_lock/147/515", expected: Eq, target: Some(Seq(0)) }], if_then: [TxnOp { request: Some(Put(TxnPutRequest { key: "__fd_table_lock/147/515", value: [10, 4, 114, 111, 111, 116, 18, 22, 121, 77, 114, 54, 56, 66, 49, 81, 66, 120, 90, 80, 76, 119, 113, 80, 76, 51, 68, 100, 118, 50, 26, 36, 54, 101, 57, 50, 102, 98, 57, 100, 45, 54, 50, 51, 54, 45, 52, 101, 51, 100, 45, 97, 57, 49, 51, 45, 55, 99, 100, 98, 101, 50, 57, 97, 49, 53, 98, 102, 34, 33, 50, 48, 50, 52, 45, 48, 51, 45, 50, 49, 32, 48, 49, 58, 51, 55, 58, 51, 56, 46, 51, 50, 51, 53, 56, 51, 50, 57, 48, 32, 85, 84, 67, 160, 6, 83, 168, 6, 24], prev_value: true, expire_at: Some(1710985068), ttl_ms: None })) }], else_then: [] }) request_id=10707
2024-03-21T01:37:48.023668Z DEBUG databend_common_meta_client::grpc_client: src/meta/client/src/grpc_client.rs:569 MetaGrpcClient send response to the handle request_id=10707 resp=Txn(Ok(TxnReply { success: true, responses: [TxnOpResponse { response: Some(Put(TxnPutResponse { key: "__fd_table_lock/147/515", prev_value: None })) }], error: "" }))
from databend.
Related Issues (20)
- bug: `purge` of `copy-into` not work as expected
- bug: TransformExchangeAggregateSerializer did not serialize all data from iterator
- feat: new show grants HOT 1
- bug: max_col_width does not work when max_width is big enough HOT 1
- bug: Query Failed. query id xxx has finished on
- bug: stream get wrong result if change tracking is changed
- bug: query detail lost qualify with window function HOT 1
- bug: leave a record with empty `query_text` when planning fail.
- Feature: parquet metadata cache in ParquetRsTable
- consider: remove the query result cache code HOT 2
- bug: copy into table source can't contain window|aggregate|udf|join functions HOT 1
- copy into use specified file list is very slow
- Tracking: refactor and optimize `merge into`
- increase `default_wait_time_secs` to be 10 secs HOT 1
- Feature: Sort aggregation support
- bug: Error when create table have column name have upper character HOT 3
- feat: support warehouse-level settings
- bug: use purge=true in copy into with failed ,but file was delete HOT 1
- Feature: copy into table support `on_error = skip_file`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from databend.