Skip to content

why the mooncake_create_table() files are found in /tmp/moonlink_temp_file, and restart pg will lost? #159

Answered by dpxcc
tigerzhangyz asked this question in Q&A
Discussion options

You must be logged in to vote

/pg_mooncake/public/xx.id exist but nothing under the directory

That directory is used for Iceberg snapshots. Moonlink creates an Iceberg snapshot either periodically or after enough data has been written since the last snapshot. In your case, it seems not enough data has been written. You can manually trigger one by running mooncake.create_snapshot("<table>")

also,once pg restart, select * from the CS table throw error and maybe lost of /tmp/moonlink_temp_files is empty

Moonlink recovery support is currently under development: Mooncake-Labs/moonlink#613. It should be available very soon

Replies: 11 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dpxcc
Comment options

dpxcc Jul 3, 2025
Maintainer

Answer selected by tigerzhangyz
Comment options

You must be logged in to vote
1 reply
@dpxcc
Comment options

dpxcc Jul 3, 2025
Maintainer

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dpxcc
Comment options

dpxcc Jul 3, 2025
Maintainer

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dpxcc
Comment options

dpxcc Jul 9, 2025
Maintainer

@tigerzhangyz
Comment options

Comment options

You must be logged in to vote
1 reply
@dpxcc
Comment options

Comment options

You must be logged in to vote
5 replies
@dpxcc
Comment options

@tigerzhangyz
Comment options

@dpxcc
Comment options

@tigerzhangyz
Comment options

@dpxcc
Comment options

Comment options

You must be logged in to vote
1 reply
@dpxcc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants