Skip to content

Instantly share code, notes, and snippets.

@avinassh
Created October 12, 2023 13:46
Show Gist options
  • Save avinassh/57d1a08a652b3085807e2cd36d3280d9 to your computer and use it in GitHub Desktop.
Save avinassh/57d1a08a652b3085807e2cd36d3280d9 to your computer and use it in GitHub Desktop.
cargo run -- --enable-namespaces
Finished dev [unoptimized + debuginfo] target(s) in 1.46s
Running `target/debug/sqld --enable-namespaces`
_ _
___ __ _| | __| |
/ __|/ _` | |/ _` |
\__ \ (_| | | (_| |
|___/\__, |_|\__,_|
|_|
Welcome to sqld!
version: 0.21.9
commit SHA: 146df902f81a65adc4943112d1a9f0a9ecd9c881
build date: 2023-10-12
This software is in BETA version.
If you encounter any bug, please open an issue at https://github.com/libsql/sqld/issues
config:
- mode: standalone
- database path: data.sqld
- extensions path: <disabled>
- listening for HTTP requests on: 127.0.0.1:8000
- grpc_tls: no
2023-10-12T12:55:15.484591Z INFO sqld: listening for incoming user HTTP connection on 127.0.0.1:8000
2023-10-12T12:55:15.485327Z WARN sqld: No server heartbeat configured
2023-10-12T12:55:15.485383Z DEBUG bottomless: bottomless module initialized
2023-10-12T12:55:15.485732Z WARN sqld::config: No authentication specified, the server will not require authentication
2023-10-12T12:55:31.237200Z DEBUG hyper::proto::h1::io: parsed 4 headers
2023-10-12T12:55:31.237247Z DEBUG hyper::proto::h1::conn: incoming body is content-length (77 bytes)
2023-10-12T12:55:31.237456Z DEBUG hyper::proto::h1::conn: incoming body completed
2023-10-12T12:55:31.238064Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::http::user: got request: POST /v2/pipeline
2023-10-12T12:55:31.238990Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::namespace: Checkpointing before initializing bottomless
2023-10-12T12:55:31.239068Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::replication::primary::logger: wal file doesn't exist, checkpoint not necessary
2023-10-12T12:55:31.239096Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::namespace: Checkpointed before initializing bottomless
2023-10-12T12:55:31.239152Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::namespace: Initializing bottomless replication
2023-10-12T12:55:31.240520Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}: aws_config::fs_util: loaded home directory src="HOME"
2023-10-12T12:55:31.240656Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Config)}: aws_config::profile::parser::source: performing home directory substitution home="/Users/avi" path="~/.aws/config"
2023-10-12T12:55:31.240711Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Config)}: aws_config::profile::parser::source: home directory expanded before="~/.aws/config" after="/Users/avi/.aws/config"
2023-10-12T12:55:31.240871Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Config)}: aws_config::profile::parser::source: config file not found path=~/.aws/config
2023-10-12T12:55:31.240923Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Config)}: aws_config::profile::parser::source: config file loaded path=Some("/Users/avi/.aws/config") size=0
2023-10-12T12:55:31.240996Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Credentials)}: aws_config::profile::parser::source: performing home directory substitution home="/Users/avi" path="~/.aws/credentials"
2023-10-12T12:55:31.241023Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Credentials)}: aws_config::profile::parser::source: home directory expanded before="~/.aws/credentials" after="/Users/avi/.aws/credentials"
2023-10-12T12:55:31.241053Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Credentials)}: aws_config::profile::parser::source: config file not found path=~/.aws/credentials
2023-10-12T12:55:31.241072Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:load_region{provider=ProfileFileRegionProvider { provider_config: ProviderConfig { env: Env(Real), fs: Fs(Real), sleep: Some(TokioSleep), region: None } }}:load_config_file{file=Default(Credentials)}: aws_config::profile::parser::source: config file loaded path=Some("/Users/avi/.aws/credentials") size=0
2023-10-12T12:55:31.546566Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:imds_load_region: hyper_rustls::config: with_native_roots processed 158 valid and 0 invalid certs
2023-10-12T12:55:31.547365Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:imds_load_region:send_operation{operation="get" service="imds"}:async_map_request{name="attach_imds_token"}:send_operation{operation="get-token" service="imds"}:dispatch: hyper::client::connect::http: connecting to 169.254.169.254:80
2023-10-12T12:55:32.550406Z WARN request{method=POST uri=/v2/pipeline version=HTTP/1.1}:imds_load_region: aws_config::imds::region: failed to load region from IMDS err=failed to load IMDS session token: dispatch failure: timeout: error trying to connect: HTTP connect timeout occurred after 1s: HTTP connect timeout occurred after 1s: timed out (FailedToLoadToken(FailedToLoadToken { source: DispatchFailure(DispatchFailure { source: ConnectorError { kind: Timeout, source: hyper::Error(Connect, HttpTimeoutError { kind: "HTTP connect", duration: 1s }), connection: Unknown } }) }))
2023-10-12T12:55:32.551430Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:imds_load_region:send_operation{operation="get" service="imds"}:async_map_request{name="attach_imds_token"}:send_operation{operation="get-token" service="imds"}:dispatch: hyper::client::connect::http: connecting to 169.254.169.254:80
2023-10-12T12:55:33.553383Z WARN request{method=POST uri=/v2/pipeline version=HTTP/1.1}:imds_load_region: aws_config::imds::region: failed to load region from IMDS err=failed to load IMDS session token: dispatch failure: timeout: error trying to connect: HTTP connect timeout occurred after 1s: HTTP connect timeout occurred after 1s: timed out (FailedToLoadToken(FailedToLoadToken { source: DispatchFailure(DispatchFailure { source: ConnectorError { kind: Timeout, source: hyper::Error(Connect, HttpTimeoutError { kind: "HTTP connect", duration: 1s }), connection: Unknown } }) }))
2023-10-12T12:55:33.586098Z INFO request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:async_map_request{name="retrieve_credentials"}:lazy_load_credentials: aws_credential_types::cache::lazy_caching: credentials cache miss occurred; added new AWS credentials (took 26.92µs)
2023-10-12T12:55:33.586146Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:async_map_request{name="retrieve_credentials"}: aws_credential_types::cache::lazy_caching: loaded credentials
2023-10-12T12:55:33.587148Z DEBUG hyper::client::connect::dns: resolving host="localhost"
2023-10-12T12:55:33.587930Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:dispatch: hyper::client::connect::http: connecting to 127.0.0.1:9000
2023-10-12T12:55:33.588172Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:dispatch: hyper::client::connect::http: connected to 127.0.0.1:9000
2023-10-12T12:55:33.588561Z DEBUG hyper::proto::h1::io: flushed 554 bytes
2023-10-12T12:55:33.589223Z DEBUG hyper::proto::h1::io: parsed 13 headers
2023-10-12T12:55:33.589242Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-10-12T12:55:33.589348Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:dispatch: hyper::client::pool: pooling idle connection for ("http", localhost:9000)
2023-10-12T12:55:33.589522Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:load_response:parse_loaded: aws_sdk_s3::operation::head_bucket: extended_request_id=Some("dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8")
2023-10-12T12:55:33.589554Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="HeadBucket" service="s3"}:load_response:parse_loaded: aws_sdk_s3::operation::head_bucket: request_id=Some("178D5D67796DBE78")
2023-10-12T12:55:33.589752Z INFO request{method=POST uri=/v2/pipeline version=HTTP/1.1}: bottomless::replicator: Bucket my-bucket not found, recreating
2023-10-12T12:55:33.590159Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="CreateBucket" service="s3"}:async_map_request{name="retrieve_credentials"}: aws_credential_types::cache::lazy_caching: loaded credentials from cache
2023-10-12T12:55:33.590709Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="CreateBucket" service="s3"}:dispatch: hyper::client::pool: reuse idle connection for ("http", localhost:9000)
2023-10-12T12:55:33.590836Z DEBUG hyper::proto::h1::io: flushed 631 bytes
2023-10-12T12:55:33.598668Z DEBUG hyper::proto::h1::io: parsed 12 headers
2023-10-12T12:55:33.598718Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-10-12T12:55:33.599057Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="CreateBucket" service="s3"}:dispatch: hyper::client::pool: pooling idle connection for ("http", localhost:9000)
2023-10-12T12:55:33.599265Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="CreateBucket" service="s3"}:load_response:parse_loaded: aws_sdk_s3::operation::create_bucket: extended_request_id=Some("dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8")
2023-10-12T12:55:33.599308Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="CreateBucket" service="s3"}:load_response:parse_loaded: aws_sdk_s3::operation::create_bucket: request_id=Some("178D5D677999C018")
2023-10-12T12:55:33.599528Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: bottomless::replicator: Database path: 'data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data', name: 'ns-avidb:eb4b69ea-b087-4565-ade4-a111801e6a5c'
2023-10-12T12:55:33.600281Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="ListObjects" service="s3"}:async_map_request{name="retrieve_credentials"}: aws_credential_types::cache::lazy_caching: loaded credentials from cache
2023-10-12T12:55:33.600880Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="ListObjects" service="s3"}:dispatch: hyper::client::pool: reuse idle connection for ("http", localhost:9000)
2023-10-12T12:55:33.601130Z DEBUG hyper::proto::h1::io: flushed 620 bytes
2023-10-12T12:55:33.603864Z DEBUG hyper::proto::h1::io: parsed 12 headers
2023-10-12T12:55:33.603881Z DEBUG hyper::proto::h1::conn: incoming body is content-length (278 bytes)
2023-10-12T12:55:33.603917Z DEBUG hyper::proto::h1::conn: incoming body completed
2023-10-12T12:55:33.604008Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="ListObjects" service="s3"}:dispatch: hyper::client::pool: pooling idle connection for ("http", localhost:9000)
2023-10-12T12:55:33.604146Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="ListObjects" service="s3"}:load_response:parse_loaded: aws_sdk_s3::operation::list_objects: extended_request_id=Some("dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8")
2023-10-12T12:55:33.604178Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}:send_operation{operation="ListObjects" service="s3"}:load_response:parse_loaded: aws_sdk_s3::operation::list_objects: request_id=Some("178D5D677A357F30")
2023-10-12T12:55:33.604392Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: bottomless::replicator: No generation found, nothing to restore
2023-10-12T12:55:33.604485Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: bottomless::replicator: Generation set e4e55642-e183-7bd4-ae31-8a5713478c76
2023-10-12T12:55:33.604882Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: bottomless::replicator: Not snapshotting e4e55642-e183-7bd4-ae31-8a5713478c76, the main db file does not exist or is empty
2023-10-12T12:55:33.605181Z INFO request{method=POST uri=/v2/pipeline version=HTTP/1.1}: bottomless::replicator: Local WAL not present - not replicating
2023-10-12T12:55:33.607066Z INFO request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::replication::primary::logger: SQLite autocheckpoint: 0
2023-10-12T12:55:33.608631Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:55:33.609149Z INFO request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::namespace: loaded namespace: `eb4b69ea-b087-4565-ade4-a111801e6a5c`
2023-10-12T12:55:33.609545Z INFO sqld: setting checkpoint interval to 24000s
2023-10-12T12:55:33.609709Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:55:33.609991Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::hrana::http::stream: Stream 16015847839261359285 was created with baton seq 2539096692679142107
2023-10-12T12:55:33.610023Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::hrana::http: pipeline:{ Hrana2, Execute(ExecuteStreamReq { stmt: Stmt { sql: Some("SELECT 1"), sql_id: None, args: [], named_args: [], want_rows: Some(false), replication_index: None } }) }
2023-10-12T12:55:33.610648Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: scan(line: 1, column: 1)
2023-10-12T12:55:33.610699Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: consume(6)
2023-10-12T12:55:33.610728Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Input 'SELECT' in state 0
2023-10-12T12:55:33.610760Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Shift 'SELECT', go to state 312
2023-10-12T12:55:33.610831Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Return. Stack=[SELECT]
2023-10-12T12:55:33.610899Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: scan(line: 1, column: 7)
2023-10-12T12:55:33.610918Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: consume(1)
2023-10-12T12:55:33.610938Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: consume(1)
2023-10-12T12:55:33.610955Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Input 'INTEGER' in state 312
2023-10-12T12:55:33.610970Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 117 [distinct ::=].
2023-10-12T12:55:33.611002Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'distinct', go to state 226
2023-10-12T12:55:33.611022Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 118 [sclp ::=].
2023-10-12T12:55:33.611041Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'sclp', go to state 80
2023-10-12T12:55:33.611065Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Shift 'INTEGER', pending reduce Some(203)
2023-10-12T12:55:33.611075Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:55:33.611094Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Return. Stack=[SELECT distinct sclp INTEGER]
2023-10-12T12:55:33.611140Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: scan(line: 1, column: 9)
2023-10-12T12:55:33.611166Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Input 'SEMI' with pending reduce 203
2023-10-12T12:55:33.611189Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 203 [term ::= FLOAT|INTEGER], pop back to state 80.
2023-10-12T12:55:33.611225Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'term', go to state 14
2023-10-12T12:55:33.611250Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 124 [as ::=].
2023-10-12T12:55:33.611282Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'as', pending reduce Some(119)
2023-10-12T12:55:33.611308Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 119 [selcollist ::= sclp expr as], pop back to state 226.
2023-10-12T12:55:33.611345Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'selcollist', go to state 311
2023-10-12T12:55:33.611370Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 125 [from ::=].
2023-10-12T12:55:33.611409Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'from', go to state 374
2023-10-12T12:55:33.611440Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 169 [where_opt ::=].
2023-10-12T12:55:33.611475Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'where_opt', go to state 373
2023-10-12T12:55:33.611518Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 160 [groupby_opt ::=].
2023-10-12T12:55:33.611586Z DEBUG sqld::connection::libsql: Not vacuuming: pages=2 freelist=0
2023-10-12T12:55:33.611579Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'groupby_opt', go to state 372
2023-10-12T12:55:33.611618Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 110 [oneselect ::= SELECT distinct selcollist from where_opt groupby_opt], pop back to state 0.
2023-10-12T12:55:33.611674Z INFO sqld: database checkpoint starts
2023-10-12T12:55:33.611669Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'oneselect', pending reduce Some(104)
2023-10-12T12:55:33.611698Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 104 [selectnowith ::= oneselect], pop back to state 0.
2023-10-12T12:55:33.611717Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'selectnowith', go to state 211
2023-10-12T12:55:33.611732Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 150 [orderby_opt ::=].
2023-10-12T12:55:33.611753Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'orderby_opt', go to state 375
2023-10-12T12:55:33.611769Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 164 [limit_opt ::=].
2023-10-12T12:55:33.611785Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'limit_opt', pending reduce Some(103)
2023-10-12T12:55:33.611800Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 103 [select ::= selectnowith orderby_opt limit_opt], pop back to state 0.
2023-10-12T12:55:33.611818Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'select', pending reduce Some(100)
2023-10-12T12:55:33.611834Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 100 [cmd ::= select], pop back to state 0.
2023-10-12T12:55:33.611856Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'cmd', pending reduce Some(2)
2023-10-12T12:55:33.611872Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 2 [cmdx ::= cmd], pop back to state 0.
2023-10-12T12:55:33.611888Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'cmdx', go to state 555
2023-10-12T12:55:33.611904Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Shift 'SEMI', pending reduce Some(379)
2023-10-12T12:55:33.611924Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Return. Stack=[cmdx SEMI]
2023-10-12T12:55:33.611905Z TRACE xCheckpoint{emode=3 busy_handler=Some(0x10425dc10) busy_arg=0x600001a833e0 sync_flags=10 n_buf=4096 z_buf=0x7f9cbe808c00 frames_in_wal=0x70000e41f050 backfilled_frames=0x70000e41f054}: bottomless::replicator: Requesting flush
2023-10-12T12:55:33.611940Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Input '$' with pending reduce 379
2023-10-12T12:55:33.611954Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 379 [ecmd ::= cmdx SEMI] without external action, pop back to state 0.
2023-10-12T12:55:33.611970Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'ecmd', go to state 1
2023-10-12T12:55:33.611967Z DEBUG xCheckpoint{emode=3 busy_handler=Some(0x10425dc10) busy_arg=0x600001a833e0 sync_flags=10 n_buf=4096 z_buf=0x7f9cbe808c00 frames_in_wal=0x70000e41f050 backfilled_frames=0x70000e41f054}: sqld::replication::primary::logger: No comitted changes in this generation, not snapshotting
2023-10-12T12:55:33.611990Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Reduce 375 [input ::= cmdlist] without external action, pop back to state 0.
2023-10-12T12:55:33.612018Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: ... then shift 'input', pending reduce None
2023-10-12T12:55:33.612036Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqlite3Parser: Accept!
2023-10-12T12:55:33.612052Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: scan(line: 1, column: 9)
2023-10-12T12:55:33.612102Z INFO sqld: database checkpoint finished (took: 406.532µs)
2023-10-12T12:55:33.612103Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: scanner: scan(line: 1, column: 9)
2023-10-12T12:55:33.612672Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: sqld::hrana::http::stream: Stream 16015847839261359285 was released for further use
2023-10-12T12:55:33.612883Z DEBUG request{method=POST uri=/v2/pipeline version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=2374898 μs status=200
2023-10-12T12:55:33.613660Z DEBUG hyper::proto::h1::io: flushed 531 bytes
2023-10-12T12:55:34.608870Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:55:44.488522Z DEBUG sqld::hrana::http::stream: Stream 16015847839261359285 was expired
2023-10-12T12:56:34.612490Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:57:03.615260Z DEBUG hyper::proto::h1::conn: read eof
2023-10-12T12:57:34.616209Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:58:34.619543Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T12:59:34.622440Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:00:34.625261Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:01:34.628314Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:01:44.506096Z DEBUG sqld::hrana::http::stream: Stream 16015847839261359285 was cleaned up after expiration
2023-10-12T13:02:34.632658Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:03:34.636244Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:04:34.639742Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:05:34.643387Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:06:34.647384Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:07:34.652211Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:08:34.656400Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:09:34.660534Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:10:34.665733Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:11:34.669475Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:12:34.672706Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:13:34.677472Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:14:34.680945Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:15:34.686562Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:16:34.693685Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:17:34.697782Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:18:34.701819Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:19:34.706485Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:20:34.711389Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:21:34.716164Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:22:34.720846Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:23:34.724529Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:24:34.728425Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:25:34.732695Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:26:34.736765Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:27:34.741500Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:28:34.745833Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:29:34.748822Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:30:34.752387Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:31:34.756408Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:32:34.760349Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:33:34.765840Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:34:34.770949Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:35:34.775501Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:36:34.779538Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:37:34.783633Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:38:34.787283Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:39:34.791323Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:40:34.794317Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:41:34.797535Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:42:34.800651Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:43:34.805010Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:44:34.810876Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:45:34.815558Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
2023-10-12T13:46:34.819194Z DEBUG sqld_libsql_bindings::wal_hook: Opening WAL /Users/avi/turso/sqld/data.sqld/dbs/eb4b69ea-b087-4565-ade4-a111801e6a5c/data-wal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment