- Notifications
You must be signed in to change notification settings - Fork715
fix: rollback scc#9442
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
fix: rollback scc#9442
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Failed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryThis PR rolls back usage of the Key Changes:
Memory management improvements:
The rollback from Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram participant Client participant FlightHandler as Flight Handler participant WAL as WAL Module participant FileList as File List Storage participant SearchFiles as SEARCHING_FILES Client->>FlightHandler: Search Request FlightHandler->>WAL: lock_files(files) WAL->>SearchFiles: write().lock(file) for each file Note over SearchFiles: Reference count incremented FlightHandler->>WAL: lock_request(trace_id, files) WAL->>WAL: Store files in SEARCHING_REQUESTS FlightHandler->>FileList: set(trace_id, schema_key, files) FileList->>FileList: Store file metadata FlightHandler-->>Client: Stream Results Client->>FlightHandler: Request Complete/Error FlightHandler->>FlightHandler: clear_session_data(trace_id) FlightHandler->>FileList: clear(trace_id) FileList->>FileList: Remove entries + shrink_to_fit() FlightHandler->>WAL: release_request(trace_id) WAL->>WAL: Remove from SEARCHING_REQUESTS WAL->>SearchFiles: write().release(file) for each file Note over SearchFiles: Reference count decremented, removed if 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
14 files reviewed, no comments
9c249f2 intomainUh oh!
There was an error while loading.Please reload this page.
fixed#9419