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

engine: iterate in-mem SSTs without copying #36394

Merged
merged 1 commit into from
Apr 1, 2019
Merged

Conversation

dt
Copy link
Member

@dt dt commented Apr 1, 2019

Release note (performance change): reduce memory usage during bulk ingestion of data (during IMPORT, RESTORE, and index creation).

@dt dt requested review from jordanlewis, danhhz, thoszhang and a team April 1, 2019 20:12
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@danhhz danhhz left a comment

Choose a reason for hiding this comment

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

:lgtm: nice!

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @danhhz, @dt, @jordanlewis, and @lucy-zhang)


pkg/storage/engine/sst_iterator.go, line 76 at r1 (raw file):

}

func (_ memFileInfo) IsDir() bool {

I usually see this as (memFileInfo)

@dt dt force-pushed the addsst-mem branch 2 times, most recently from 887003d to c3e7eee Compare April 1, 2019 21:41
Release note (performance change): reduce memory usage during bulk ingestion of data (during IMPORT, RESTORE, and index creation).
@dt
Copy link
Member Author

dt commented Apr 1, 2019

bors r+

Copy link
Member Author

@dt dt left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @jordanlewis and @lucy-zhang)


pkg/storage/engine/sst_iterator.go, line 76 at r1 (raw file):

Previously, danhhz (Daniel Harrison) wrote…

I usually see this as (memFileInfo)

Done

Copy link
Member Author

@dt dt left a comment

Choose a reason for hiding this comment

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

TFTR!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @jordanlewis and @lucy-zhang)

craig bot pushed a commit that referenced this pull request Apr 1, 2019
36394: engine: iterate in-mem SSTs without copying r=dt a=dt

Release note (performance change): reduce memory usage during bulk ingestion of data (during IMPORT, RESTORE, and index creation).

Co-authored-by: David Taylor <tinystatemachine@gmail.com>
@craig
Copy link
Contributor

craig bot commented Apr 1, 2019

Build succeeded

@craig craig bot merged commit a989e5f into cockroachdb:master Apr 1, 2019
@dt dt deleted the addsst-mem branch April 2, 2019 14:37
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.

None yet

3 participants