Skip to content

[jindo] Disable directory timestamps for faster listings - #9019

Merged
JingsongLi merged 1 commit into
apache:masterfrom
sundapeng:jindo-default-dir-timestamp-off
Aug 4, 2026
Merged

[jindo] Disable directory timestamps for faster listings#9019
JingsongLi merged 1 commit into
apache:masterfrom
sundapeng:jindo-default-dir-timestamp-off

Conversation

@sundapeng

@sundapeng sundapeng commented Aug 4, 2026

Copy link
Copy Markdown
Member

Purpose

Jindo resolves a timestamp for every directory entry during listStatus when fs.oss.show-dir-timestamp is enabled, which is its default. Listing a directory with about 1,000 subdirectories takes 11s with the option on and 0.2s with it off, while Paimon does not read directory timestamps from listings. This PR defaults the option to false in JindoFileIO and keeps an explicit user setting unchanged.

Tests

New tests in JindoFileIOTest cover the default and an explicit true setting.

Jindo spends extra time resolving a timestamp for every directory entry
during listStatus. On a directory with 1,095 subdirectories, listing
takes about 11s with the option enabled and about 0.2s with it disabled,
returning the same entries. Paimon does not read directory timestamps
from listings, so JindoFileIO now defaults fs.oss.show-dir-timestamp to
false and keeps an explicit user setting unchanged.
@sundapeng
sundapeng force-pushed the jindo-default-dir-timestamp-off branch from a324130 to f492fbf Compare August 4, 2026 07:29

@leaves12138 leaves12138 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@plusplusjiajia

Copy link
Copy Markdown
Member

+1, LGTM.

@JingsongLi
JingsongLi merged commit 0aa1f6e into apache:master Aug 4, 2026
11 of 12 checks passed
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.

4 participants