Skip to content

Instantly share code, notes, and snippets.

View MahatiC's full-sized avatar

Mahati Chamarthy MahatiC

View GitHub Profile
diff --git a/data-plane-shared-libraries b/data-plane-shared-libraries
index de95061..d0c1257 160000
--- a/data-plane-shared-libraries
+++ b/data-plane-shared-libraries
@@ -1 +1 @@
-Subproject commit de9506159c72ed32b32e48fc023a4f786d51e51d
+Subproject commit d0c12578592c46b84bef01f9a00e156cc3b496c2-dirty
diff --git a/production/packaging/azure/seller_frontend_service/bin/envoy.yaml b/production/packaging/azure/seller_frontend_service/bin/envoy.yaml
index a06d870..2d60c0f 100644
--- a/production/packaging/azure/seller_frontend_service/bin/envoy.yaml
import subprocess
import base64
import os
import argparse
import json
def is_valid_json(file_path):
try:
with open(file_path, 'r') as file:
diff --git a/doc/schemas/gov_openapi.json b/doc/schemas/gov_openapi.json
index 2a90bf19e..8107c8a63 100644
--- a/doc/schemas/gov_openapi.json
+++ b/doc/schemas/gov_openapi.json
@@ -99,54 +99,6 @@
],
"type": "string"
},
- "EndpointMetrics": {
- "properties": {
diff --git a/src/node/rpc/forwarder.h b/src/node/rpc/forwarder.h
index ae408746..7c856a5e 100644
--- a/src/node/rpc/forwarder.h
+++ b/src/node/rpc/forwarder.h
@@ -290,82 +290,15 @@ namespace ccf
switch (forwarded_msg)
{
case ForwardedMsg::forwarded_cmd_v1:
- case ForwardedMsg::forwarded_cmd_v2:
{
TEST_F(TestMockCacheSSDWriteLog, write) {
librbd::ImageCtx *ictx;
ASSERT_EQ(0, open_image(m_image_name, &ictx));
MockImageCtx mock_image_ctx(*ictx);
MockImageWriteback mock_image_writeback(mock_image_ctx);
MockApi mock_api;
MockSSDWriteLog rwl(
mock_image_ctx, get_cache_state(mock_image_ctx, mock_api),
mock_image_writeback, mock_api);
template <typename ImageCtxT>
class ParentWriteLog {
//will contain all the common code between SSDWriteLog and ReplicatedWriteLog classes
};
template <typename ImageCtxT>
class SSDWriteLog : public ParentWriteLog<ImageCtxT> {
public:
//SSD specific code
};
#!/usr/bin/env bash
set -ex
# create a snapshot, then export it and check that setting read flags works
# by looking at --debug-ms output
function clean_up {
rm -f test.log || true
rbd snap remove test@snap || true
rbd rm test || true
#!/usr/bin/env bash
set -ex
# create a snapshot, then export it and check that setting read flags works
# by looking at --debug-ms output
function clean_up {
rm -f test.log || true
rbd snap remove test@snap || true
rbd rm test || true
template <typename I>
void ObjectMap<I>::rollback(uint64_t snap_id, Context *on_finish) {
ceph_assert(m_image_ctx.snap_lock.is_locked());
ceph_assert(m_image_ctx.object_map_lock.is_wlocked());
using klass = ObjectMap<I>;
Context *ctx = create_context_callback<klass>(this, on_finish);
object_map::SnapshotRollbackRequest *req =
new object_map::SnapshotRollbackRequest(m_image_ctx, snap_id, ctx);
overrides:
ceph:
conf:
client:
rbd default features: 125
rbd op threads: 8