You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (Coordination::Error::ZOK != zk->tryGetChildren(fs::path(entry_path) / "processing", parts_in_processing_or_pending))
148
172
{
149
-
LOG_INFO(storage.log, "ExportPartition: Failed to get parts in processing or pending, skipping");
173
+
LOG_INFO(storage.log, "ExportPartition Manifest Updating Task: Failed to get parts in processing or pending, skipping");
150
174
continue;
151
175
}
152
176
153
177
if (parts_in_processing_or_pending.empty())
154
178
{
155
-
LOG_INFO(storage.log, "ExportPartition: Cleanup found PENDING for {} with all parts exported, try to fix it by committing the export", entry_path);
179
+
LOG_INFO(storage.log, "ExportPartition Manifest Updating Task: Cleanup found PENDING for {} with all parts exported, try to fix it by committing the export", entry_path);
LOG_INFO(storage.log, "ExportPartition: Part {} exported successfully", relative_path_in_destination_storage);
158
+
LOG_INFO(storage.log, "ExportPartition scheduler task: Part {} exported successfully", relative_path_in_destination_storage);
159
159
160
160
Coordination::Stat locked_by_stat;
161
161
std::string locked_by;
162
162
163
163
if (!zk->tryGet(export_path / "locks" / part_name, locked_by, &locked_by_stat))
164
164
{
165
-
LOG_INFO(storage.log, "ExportPartition: Part {} is not locked by any replica, will not commit or set it as completed", part_name);
165
+
LOG_INFO(storage.log, "ExportPartition scheduler task: Part {} is not locked by any replica, will not commit or set it as completed", part_name);
166
166
return;
167
167
}
168
168
169
169
/// Is this a good idea? what if the file we just pushed to s3 ends up triggering an exception in the replica that actually locks the part and it does not commit?
170
170
/// I guess we should not throw if file already exists for export partition, hard coded.
171
171
if (locked_by != storage.replica_name)
172
172
{
173
-
LOG_INFO(storage.log, "ExportPartition: Part {} is locked by another replica, will not commit or set it as completed", part_name);
173
+
LOG_INFO(storage.log, "ExportPartition scheduler task: Part {} is locked by another replica, will not commit or set it as completed", part_name);
0 commit comments