-
Notifications
You must be signed in to change notification settings - Fork 149
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
Replication stops with "missing chunk number 0 for toast value" #113
Comments
Unfortunately right now However, it looks like there's a separate issue here - any idea what that "missing chunk number" error is all about? Are you able to isolate what data or table schema is causing that? |
I think the error is came from this line I do a research, this error happens with other people too, please look at this And then I check this guy code I'm still reading to find out what |
Hmm, that nabble link has been down for maintenance since yesterday so I can't read the thread you linked to. Does look like there might be an extra case to check for, although it's weird that the pg_plugins code you linked to has an If you are able to track this down and verify it fixes the issue you're seeing, it would be great if you could submit it as a pull request. |
Same issue here.
How to solve? |
Can you try my commit ? Please update us if it solves the bug. |
I can't build from the source(Ubuntu 14.04). I followed the build steps, but I failed:
|
What source are you trying to build ? Can you share your source ? |
Your pull request #101
But I tried the master branch code to build, still this error. |
I build it successfully. Please check this error, I see this from your log
|
But I've already installed the
|
Please check this, I think this issue is already fixed. And you can also try my commit with your souce by this: |
I know the reason. Here is my repo:
But this repo will install |
You can do like this
I tried and it fixed your problem. |
Finall I build success, but get this error:
Ah, it's very hard for me to build from source. I wish to use a |
@badboyd Seems not helpful. Still this error. I've checkout your code and restarted bottledwater and postgresql.
|
Could you please give me more information about your table schema, this table mart_goods_goods_category ? |
Can you try add a log to see where is the problem from ? |
Yes, I've installed the extension. Here is my tar package:
Here the schema:
But how to get more logs from bottledwater? I can't find any debug or verbose args.
|
I've recreated the extension, and seemed to be working:
# /usr/local/bin/bottledwater -d postgres:// -b 127.0.0.1 -f json -u -x -e log
[INFO] Writing messages to Kafka in JSON format
[INFO] Created replication slot "bottledwater", skipping snapshot and streaming changes from 17/A3535058.
[INFO] Registering metadata for table moni_equipment (relid 16551)
[INFO] Opening Kafka topic "moni_equipment" for table "moni_equipment"
[INFO] Storing key schema for table 16551
[INFO] Storing row schema for table 16551
[INFO] Registering metadata for table moni_equipment_location_history (relid 16581)
[INFO] Opening Kafka topic "moni_equipment_location_history" for table "moni_equipment_location_history"
[INFO] Storing key schema for table 16581
[INFO] Storing row schema for table 16581
[INFO] Registering metadata for table comm_login_history (relid 16412)
[INFO] Opening Kafka topic "comm_login_history" for table "comm_login_history"
[INFO] Storing key schema for table 16412
[INFO] Storing row schema for table 16412
[INFO] Registering metadata for table moni_alarm (relid 16464)
[INFO] Opening Kafka topic "moni_alarm" for table "moni_alarm"
[INFO] Storing key schema for table 16464
[INFO] Storing row schema for table 16464
[INFO] Registering metadata for table moni_info_center (relid 16629)
[INFO] Opening Kafka topic "moni_info_center" for table "moni_info_center"
[INFO] Storing key schema for table 16629
[INFO] Storing row schema for table 16629
[INFO] Registering metadata for table moni_inbox (relid 16621)
[INFO] Opening Kafka topic "moni_inbox" for table "moni_inbox"
[INFO] Storing key schema for table 16621
[INFO] Storing row schema for table 16621 |
So the fix works. Nice. 👍🏻 |
Bottledwater was running on replication stream mode then it exited with this message
The text was updated successfully, but these errors were encountered: