-
Notifications
You must be signed in to change notification settings - Fork 355
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
Add a lakeFS / XID time slug decoder #8323
base: master
Are you sure you want to change the base?
Conversation
Decodes object names nicely, e.g. ```sh ❯ lakectl -c ~/.lakectl.s3.yaml fs --pre-sign=false stat lakefs://repo/main/50m Path: 50m Modified Time: 2024-10-28 17:52:50 +0200 IST Size: 52428800 bytes Human Size: 52.4 MB Physical Address: s3://treeverse-ariels-test-us/repos/s3-dev-repo/data/gcnl78vqmpl9eb7rqlr0/csfr6kfqmpl9eb7rqlt0,jMHnLFOwK2RtCVV_aE0iClDtfP7ehfORTH_siX9V5e8 Checksum: 4d98d5ac224a2a14a2b7efac5d100757-10 Content-Type: application/octet-stream ❯ go run ./contrib/decoder/decode_partition/ csfr6kfqmpl9eb7rqlt0 2024-10-28 15:52:49 +0000 UTC (asc) 3945-03-05 08:07:11 +0000 UTC (desc) ``` But does _not_ decode the partition name ("desc"); not sure why not. ```sh ❯ go run ./contrib/decoder/decode_partition/ gcnl78vqmpl9eb7rqlr0 2039-09-29 13:48:19 +0000 UTC (asc) 3930-04-04 10:11:41 +0000 UTC (desc) ``` (Happy to modify if reviewer can explain this!)
Bug in xid!?!?! 😲😲😲😲 |
@arielshaqed what would you like to do with this? I can approve it but given what we found this won't be very useful for partitions |
Add a lakeFS / XID time slug decoder
Decodes object names nicely, e.g.
But does not decode the partition name ("desc"); not sure why not.
(Happy to modify if reviewer can explain this!)