Project

General

Profile

Actions

Feature #48182

closed

osd: allow remote read by calling cls method from within cls context

Added by Ken Iizawa over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Performance/Resource Usage
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
OSD
Pull request ID:

Description

Currently, a cls method can only access an object's data and metadata.
However, in some cases, it would be useful if a cls method could read from a remote object by calling another cls method.

For example, suppose the following use-case.

1. There is an object class that holds tabular data in row-oriented format.
2. The object class provides a SQL-like method to access the data, which returns the data output to the caller.
3. There is a large dataset consisting of many partitions, each of which is stored as an object and can be accessed via the SQL-like method.

Now, we create a new object class that holds tabular data in column-oriented format, which is prefered by analytical applications.
With our new feature, the new object class can have a new gather method that reads from a remote object by calling the SQL-like method.
We could covert the existing row-oriented dataset into the new columnd-oriented dataset by using the gather method and creating an object for each column.

This convertion could be done outside Ceph in a client.
However, we prefer to avoid sending data back and forth between client/storage and rather do this directly within storage.

Actions #1

Updated by Kefu Chai about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Ken Iizawa
  • Pull request ID set to 38120
Actions

Also available in: Atom PDF