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

[7.2.0] Implement a JNI wrapper around SQLite. #22158

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

tjgq
Copy link
Contributor

@tjgq tjgq commented Apr 26, 2024

This will be used by the implementation of garbage collection for the disk cache, as discussed in #5139 and the linked design doc. I judge this to be preferred over https://github.com/xerial/sqlite-jdbc for the following reasons:

  1. It's a much smaller dependency.
  2. The JDBC API is too generic and becomes awkward to use when dealing with the peculiarities of SQLite.
  3. We can (more easily) compile it from source for all host platforms, including the BSDs.

PiperOrigin-RevId: 628046749
Change-Id: I17bd0547876df460f48af24944d3f7327069375f

This will be used by the implementation of garbage collection for the disk cache, as discussed in bazelbuild#5139 and the linked design doc. I judge this to be preferred over https://github.com/xerial/sqlite-jdbc for the following reasons:

1. It's a much smaller dependency.
2. The JDBC API is too generic and becomes awkward to use when dealing with the peculiarities of SQLite.
3. We can (more easily) compile it from source for all host platforms, including the BSDs.

PiperOrigin-RevId: 628046749
Change-Id: I17bd0547876df460f48af24944d3f7327069375f
@tjgq tjgq requested a review from a team as a code owner April 26, 2024 19:40
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Remote-Exec Issues and PRs for the Execution (Remote) team labels Apr 26, 2024
@iancha1992 iancha1992 added this to the 7.2.0 release blockers milestone Apr 26, 2024
@iancha1992 iancha1992 added this pull request to the merge queue Apr 26, 2024
Merged via the queue into bazelbuild:release-7.2.0 with commit dc87fdd Apr 26, 2024
33 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants