Skip to content

[rest] add requestId into errorMsg#5426

Merged
JingsongLi merged 1 commit intoapache:masterfrom
vox-vox-vox:refine_errorMsg
Apr 9, 2025
Merged

[rest] add requestId into errorMsg#5426
JingsongLi merged 1 commit intoapache:masterfrom
vox-vox-vox:refine_errorMsg

Conversation

@vox-vox-vox
Copy link
Copy Markdown
Contributor

Purpose

In the restCatalog, we need to include the requestId in the client's error message to better troubleshoot issues, especially when logs are absent.

Additionally, if the server does not provide a requestId (unknown), the error message should remain unchanged.

Tests

API and Format

Documentation

@jerry-024
Copy link
Copy Markdown
Contributor

+1

Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 2065705 into apache:master Apr 9, 2025
18 checks passed
jerry-024 added a commit to jerry-024/paimon that referenced this pull request Apr 10, 2025
* github/master: (38 commits)
  [core] Add option to always select level 0 files when compacting (apache#5428)
  [hive] Fix `sync-all-properties` related tests (apache#5435)
  [core] File of Postpone bucket could be avro and no stats (apache#5427)
  [rest] add requestId into errorMsg (apache#5426)
  [hotfix] Fix test WithPartialUpdateMergeFunctionTest (apache#5425)
  [common] Set SYNC_ALL_PROPERTIES default to true, be kind to user. (apache#5411)
  [core] Introduce 'metadata.stats-mode.per.level' (apache#5422)
  [core] Throw exception when travel to timestamp before the earliest snapshot (apache#5423)
  [spark] Add bucket function and write benchmark (apache#5418)
  [flink] Flink batch delete supports aggregation.remove-record-on-delete option (apache#5402)
  [core] Fix aggregate delete bug and refactor SortBufferWriteBufferTestBase (apache#5414)
  [core] Validate fast-forward from the current branch (apache#5413)
  [core] Upgrade json-smart and resolve CVE-2024-57699 (apache#5415)
  [core] Add withLevel method in SnapshotReader to optimize RO table scanning (apache#5412)
  [cdc] Fix database sync performance issue of schema evolution (apache#5382)
  [core] Unify the order of procedure loading properties (apache#4657)
  [docs] add more docs about record-level expire (apache#5410)
  [core] Aggregate merge function should not return empty row with non-null column type exist (apache#5407)
  [core] Fix FileMonitorTable with Deletion Vectors Enabled (apache#5406)
  [core] Make the default version of bitmap index to 2 (apache#5405)
  ...
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.

3 participants