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

fix payload filtering for parquet processor #439

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

yuunlimm
Copy link
Contributor

@yuunlimm yuunlimm commented Jul 2, 2024

Fix a bug with txn payload filtering:

│       Message:   mber":126,"threadName":"tokio-runtime-worker","threadId":"ThreadId(41)"}                                                                                                                                                                                   │
│ details = """                                                                                                                                                                                                                                                               │
│ panicked at processor/src/db/common/models/default_models/parquet_transactions.rs:196:22:                                                                                                                                                                                   │
│ Getting payload failed."""                                                                                                                                                                                                                                                  │
│ backtrace = """                                                                                                                                                                                                                                                             │
│    0:     0x56a4c9ea1ae9 - backtrace::capture::Backtrace::new::h3c022c8b3242bd1e                                                                                                                                                                                            │
│    1:     0x56a4c9d7be50 - server_framework::setup_panic_handler::{{closure}}::h427021b0f79aebcf                                                                                                                                                                            │
│    2:     0x56a4ca2bd616 - std::panicking::rust_panic_with_hook::hac8bdceee1e4fe2c                                                                                                                                                                                          │
│    3:     0x56a4ca2bd3c4 - std::panicking::begin_panic_handler::{{closure}}::h00d785e82757ce3c                                                                                                                                                                              │
│    4:     0x56a4ca2bc419 - std::sys_common::backtrace::__rust_end_short_backtrace::h1628d957bcd06996                                                                                                                                                                        │
│    5:     0x56a4ca2bd0f7 - rust_begin_unwind                                                                                                                                                                                                                                │
│    6:     0x56a4c9095b03 - core::panicking::panic_fmt::hdc63834ffaaefae5                                                                                                                                                                                                    │
│    7:     0x56a4ca2e218c - core::panicking::panic_display::h57ec0894e5f003fc                                                                                                                                                                                                │
│    8:     0x56a4c9095acc - core::option::expect_failed::h7f842a57ad883afa                                                                                                                                                                                                   │
│    9:     0x56a4c95bae7f - processor::db::common::models::default_models::parquet_transactions::Transaction::from_transaction::h30fcd823adb401af                                                                                                                            │
│   10:     0x56a4c95bb567 - processor::db::common::models::default_models::parquet_transactions::Transaction::from_transactions::h397fcdcee109b99b                                                                                                                           │
│   11:     0x56a4c926a2e1 - processor::processors::parquet_default_processor::process_transactions::hf0c14fe9549790fe                                                                                                                                                        │
│   12:     0x56a4c9885b64 - tokio::runtime::task::core::Core<T,S>::poll::h68e4a3842ef1743a                                                                                                                                                                                   │
│   13:     0x56a4c92ed774 - tokio::runtime::task::harness::Harness<T,S>::poll::h5357f728210cde3f                                                                                                                                                                             │
│   14:     0x56a4ca0bc4b8 - tokio::runtime::blocking::pool::Inner::run::hc83a015021acf1d3                                                                                                                                                                                    │
│   15:     0x56a4ca0c4036 - std::sys_common::backtrace::__rust_begin_short_backtrace::h1d78f792019de3a8                                                                                                                                                                      │
│   16:     0x56a4ca0a4702 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d89deeff2847687                                                                                                                                                                         │
│   17:     0x56a4ca2c013b - std::sys::pal::unix::thread::Thread::new::thread_start::h522bc89a54da820a                                                                                                                                                                        │
│   18:     0x7e45f6022ea7 - start_thread                                                                                                                                                                                                                                     │
│   19:     0x7e45f5df6a6f - clone                                                                                                                                                                                                                                            │
│   20:                0x0 - <unknown>                                                                                                                                                                                                                                        │
│ """                                                                                             

test plan

Screenshot 2024-07-01 at 5 17 20 PM

@yuunlimm yuunlimm requested a review from a team July 2, 2024 00:18
@yuunlimm yuunlimm merged commit da0ccef into main Jul 15, 2024
7 checks passed
@yuunlimm yuunlimm deleted the yuunlimm/fix-payload branch July 15, 2024 21:21
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.

2 participants