sql: Log event for TRUNCATE TABLE#25868
Conversation
|
Reviewed 5 of 5 files at r1. pkg/sql/event_log.go, line 43 at r1 (raw file):
truncated not dropped pkg/ui/src/util/eventTypes.ts, line 9 at r1 (raw file):
might be nice to alphabetize this pkg/ui/src/util/eventTypes.ts, line 63 at r1 (raw file):
And to alphabetize this as well Comments from Reviewable |
Fixes cockroachdb#25867 Release note (sql change): TRUNCATE TABLE commands are now logged in the event log.
00e1666 to
3e1e86e
Compare
|
TFTRs! Review status: all files reviewed at latest revision, 3 unresolved discussions. pkg/sql/event_log.go, line 43 at r1 (raw file): Previously, BramGruneir (Bram Gruneir) wrote…
Done. pkg/ui/src/util/eventTypes.ts, line 9 at r1 (raw file): Previously, BramGruneir (Bram Gruneir) wrote…
Right now it's grouped logically by the object being acted on, which seems kind of nice to me. Mind if I leave it as is? pkg/ui/src/util/eventTypes.ts, line 63 at r1 (raw file): Previously, BramGruneir (Bram Gruneir) wrote…
Same as above. Comments from Reviewable |
|
I'm ok with the logical grouping. |
|
One last suggestion, but feel free to leave as is. Reviewed 1 of 1 files at r2. pkg/ui/src/util/eventTypes.ts, line 9 at r1 (raw file): Previously, a-robinson (Alex Robinson) wrote…
I like the logical, but perhaps call that out and alphabetize within those groupings? The logical grouping wasn't clear to me while reviewing. Comments from Reviewable |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. pkg/ui/src/util/eventTypes.ts, line 9 at r1 (raw file): Previously, BramGruneir (Bram Gruneir) wrote…
I'm not gonna burn another CI cycle on this, but doing it next time would be good. Comments from Reviewable |
|
bors r+ |
Build failed (retrying...) |
Build failed (retrying...) |
25868: sql: Log event for TRUNCATE TABLE r=a-robinson a=a-robinson Fixes #25867 Release note (sql change): TRUNCATE TABLE commands are now logged in the event log. 25871: ui: unbreak `make watch` r=vilterp a=vilterp By telling Webpack to proxy the path `/` through to the Cockroach process. Webpack used to serve `/` itself from a static file, but as of #25195 we generate `/` dynamically in Go, so we can use it to pass login state to the UI. Fixes #25858 Release note: None 25875: ui: fix action names broken by #25823 r=couchand a=couchand In that PR, I mechanically replaced identifiers when there were new warnings about shadowing, but in two places I accidentally changed semantics due to the shorthand form of object literals. 🤦♂️ Release note: None Co-authored-by: Alex Robinson <alexdwanerobinson@gmail.com> Co-authored-by: Pete Vilter <vilterp@cockroachlabs.com> Co-authored-by: Andrew Couch <andrew@cockroachlabs.com>
Build succeeded |

Fixes #25867
Release note (sql change): TRUNCATE TABLE commands are now logged in the
event log.